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:
Ralf Becker 2022-01-19 20:16:11 +02:00
parent 33a42f2464
commit 8fba1d9a2f

View File

@ -459,7 +459,7 @@ class Etemplate extends Etemplate\Widget\Template
static public function ajax_destroy_session($_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();
unset($request);