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 d33534e2e1
commit a09c6d3639

View File

@ -465,7 +465,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);