diff options
Diffstat (limited to 'actions/usersettings')
-rw-r--r-- | actions/usersettings/save.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php index b720c371a..8c920def1 100644 --- a/actions/usersettings/save.php +++ b/actions/usersettings/save.php @@ -1,22 +1,22 @@ -<?php
- /**
- * Aggregate action for saving settings
- *
- * @package Elgg
- * @subpackage Core
+<?php + /** + * Aggregate action for saving settings + * + * @package Elgg + * @subpackage Core - * @link http://elgg.org/
- */
-
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- global $CONFIG;
-
+ * @link http://elgg.org/ + */ + + require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + global $CONFIG; + gatekeeper(); - action_gatekeeper();
-
- trigger_plugin_hook('usersettings:save','user');
-
- forward($_SERVER['HTTP_REFERER']);
-
-?>
+ action_gatekeeper(); + + trigger_plugin_hook('usersettings:save','user'); + + forward($_SERVER['HTTP_REFERER']); + +?> |