mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Added passing $sessionid and $kp3 parameters to session->destroy()
This commit is contained in:
parent
bba0ba2eb7
commit
3a65ab5a7f
@ -42,11 +42,15 @@
|
|||||||
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
||||||
}
|
}
|
||||||
$GLOBALS['phpgw']->common->hook('logout');
|
$GLOBALS['phpgw']->common->hook('logout');
|
||||||
$GLOBALS['phpgw']->session->destroy();
|
$GLOBALS['phpgw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->log->write(array('text'=>'W-VerifySession, could not verify session during logout'));
|
$GLOBALS['phpgw']->log->write(array(
|
||||||
|
'text' => 'W-VerifySession, could not verify session during logout',
|
||||||
|
'line' => __LINE__,
|
||||||
|
'file' => __FILE__
|
||||||
|
));
|
||||||
}
|
}
|
||||||
Setcookie('sessionid');
|
Setcookie('sessionid');
|
||||||
Setcookie('kp3');
|
Setcookie('kp3');
|
||||||
|
Loading…
Reference in New Issue
Block a user