diff options
Diffstat (limited to 'actions/user/spotlight.php')
-rw-r--r-- | actions/user/spotlight.php | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/actions/user/spotlight.php b/actions/user/spotlight.php index 8f50df2c8..ff111461e 100644 --- a/actions/user/spotlight.php +++ b/actions/user/spotlight.php @@ -1,15 +1,21 @@ <?php +/** + * Close or open spotlight. + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ - gatekeeper(); - - $closed = get_input('closed','true'); - if ($closed != 'true') { - $closed = false; - } else { - $closed = true; - } - - $_SESSION['user']->spotlightclosed = $closed; - exit; +gatekeeper(); -?>
\ No newline at end of file +$closed = get_input('closed','true'); +if ($closed != 'true') { + $closed = false; +} else { + $closed = true; +} + +$_SESSION['user']->spotlightclosed = $closed; +exit;
\ No newline at end of file |