diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-10-20 01:22:51 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2013-10-20 01:22:51 +0200 |
commit | 2db45695e8067e49eb4c8a6d8044cd9cac7f07e5 (patch) | |
tree | 7a1029e10578e99f0dbbef6e22c42eb784ddd9d1 /include/auth.php | |
parent | c0789bdb4fc7412efd5e2fb1e15b63d359a74cfa (diff) | |
parent | 49fb6326e0e978f57b2f988935af6e8e3d2f4417 (diff) | |
download | volse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.tar.gz volse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.tar.bz2 volse-hubzilla-2db45695e8067e49eb4c8a6d8044cd9cac7f07e5.zip |
Merge upstream
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index d04ebbe43..8eb8bf333 100644 --- a/include/auth.php +++ b/include/auth.php @@ -61,7 +61,8 @@ 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"); + $args = array('channel_id' => local_user()); + call_hooks('logging_out', $args); nuke_session(); info( t('Logged out.') . EOL); goaway(z_root()); |