From: Fabio Comuni Date: Mon, 12 Mar 2012 14:58:59 +0000 (+0100) Subject: add 'loggin_out' hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c30342e2f7bde6fda899193f97ce3051cd8b2fdd;p=friendica.git add 'loggin_out' hook --- diff --git a/include/auth.php b/include/auth.php index fc52684e64..f2975c4c6c 100755 --- a/include/auth.php +++ b/include/auth.php @@ -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());