aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-19 15:29:32 -0700
committerfriendica <info@friendica.com>2012-03-19 15:29:32 -0700
commita156ce196ed7265cf9504aa39dabffa98cb54a45 (patch)
treec2c4a8aea353d508406bd6aea692904b4b5bad21 /include
parentb8f63124086e57e6930a53b322daf86a9c431763 (diff)
parentea4be0db89b5e95b50211e023e94aa008aadae46 (diff)
downloadvolse-hubzilla-a156ce196ed7265cf9504aa39dabffa98cb54a45.tar.gz
volse-hubzilla-a156ce196ed7265cf9504aa39dabffa98cb54a45.tar.bz2
volse-hubzilla-a156ce196ed7265cf9504aa39dabffa98cb54a45.zip
Merge pull request #150 from fabrixxm/master
Add "logging_out" hook
Diffstat (limited to 'include')
-rwxr-xr-xinclude/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php
index faf922199..4e246e354 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());