local_user => local_channel
This commit is contained in:
@@ -124,7 +124,7 @@ if((isset($_SESSION)) && (x($_SESSION, 'authenticated')) &&
|
||||
|
||||
if(((x($_POST, 'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) {
|
||||
// process logout request
|
||||
$args = array('channel_id' => local_user());
|
||||
$args = array('channel_id' => local_channel());
|
||||
call_hooks('logging_out', $args);
|
||||
nuke_session();
|
||||
info( t('Logged out.') . EOL);
|
||||
|
||||
Reference in New Issue
Block a user