mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
add 'loggin_out' hook
This commit is contained in:
parent
38cb4a362f
commit
c30342e2f7
1 changed files with 1 additions and 1 deletions
|
@ -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')) {
|
||||
|
||||
// process logout request
|
||||
|
||||
call_hooks("logging_out");
|
||||
nuke_session();
|
||||
info( t('Logged out.') . EOL);
|
||||
goaway(z_root());
|
||||
|
|
Loading…
Reference in a new issue