diff options
Diffstat (limited to 'actions/user/spotlight.php')
| -rw-r--r-- | actions/user/spotlight.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/user/spotlight.php b/actions/user/spotlight.php index 00525254b..202dde387 100644 --- a/actions/user/spotlight.php +++ b/actions/user/spotlight.php @@ -7,8 +7,6 @@ * @todo This is deprecated in 1.8 */ -gatekeeper(); - $closed = get_input('closed', 'true'); if ($closed != 'true') { $closed = false; @@ -16,6 +14,6 @@ if ($closed != 'true') { $closed = true; } -get_loggedin_user()->spotlightclosed = $closed; +elgg_get_logged_in_user_entity()->spotlightclosed = $closed; // exit as this action is called through Ajax exit;
\ No newline at end of file |
