Elgg
Version master
|
Go to the source code of this file.
Variables | |
$session = elgg_get_session() | |
$user_guid = (int) $session->get('login_as_original_user_guid') | |
$user = get_user($user_guid) | |
if(!$user instanceof\ElggUser||!$user->isAdmin()) | $persistent = (bool) $session->get('login_as_original_persistent') |
try | |
if (!$user instanceof\ElggUser||!$user->isAdmin()) $persistent = (bool) $session->get('login_as_original_persistent') |
Definition at line 17 of file logout_as.php.
$session = elgg_get_session() |
Definition at line 8 of file logout_as.php.
$user = get_user($user_guid) |
Definition at line 12 of file logout_as.php.
$user_guid = (int) $session->get('login_as_original_user_guid') |
Definition at line 10 of file logout_as.php.
try |
Definition at line 19 of file logout_as.php.