forked from extern/egroupware
do NOT handle / redirect for not found eT2 session in ajax_destroy_session()
as it's called, when the session is no longer needed
This commit is contained in:
parent
d33534e2e1
commit
a09c6d3639
@ -465,7 +465,7 @@ class Etemplate extends Etemplate\Widget\Template
|
|||||||
static public function ajax_destroy_session($_exec_id)
|
static public function ajax_destroy_session($_exec_id)
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__."('$_exec_id')");
|
//error_log(__METHOD__."('$_exec_id')");
|
||||||
if (($request = Etemplate\Request::read($_exec_id)))
|
if (($request = Etemplate\Request::read($_exec_id, false)))
|
||||||
{
|
{
|
||||||
$request->remove_if_not_modified();
|
$request->remove_if_not_modified();
|
||||||
unset($request);
|
unset($request);
|
||||||
|
Loading…
Reference in New Issue
Block a user