aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-03-12 15:58:59 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-03-12 15:58:59 +0100
commitc30342e2f7bde6fda899193f97ce3051cd8b2fdd (patch)
treed364862689f983bc27f97a7e154e82853b955b10 /include/auth.php
parent38cb4a362f1186054dc3d71475f8f8cb1cd47789 (diff)
downloadvolse-hubzilla-c30342e2f7bde6fda899193f97ce3051cd8b2fdd.tar.gz
volse-hubzilla-c30342e2f7bde6fda899193f97ce3051cd8b2fdd.tar.bz2
volse-hubzilla-c30342e2f7bde6fda899193f97ce3051cd8b2fdd.zip
add 'loggin_out' hook
Diffstat (limited to 'include/auth.php')
-rwxr-xr-xinclude/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php
index fc52684e6..f2975c4c6 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());