commit
a156ce196e
|
@ -24,7 +24,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
|
||||||
if(((x($_POST,'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) {
|
if(((x($_POST,'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) {
|
||||||
|
|
||||||
// process logout request
|
// process logout request
|
||||||
|
call_hooks("logging_out");
|
||||||
nuke_session();
|
nuke_session();
|
||||||
info( t('Logged out.') . EOL);
|
info( t('Logged out.') . EOL);
|
||||||
goaway(z_root());
|
goaway(z_root());
|
||||||
|
|
Loading…
Reference in a new issue