aboutsummaryrefslogtreecommitdiff
path: root/actions/usersettings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/usersettings/save.php')
-rw-r--r--actions/usersettings/save.php15
1 files changed, 4 insertions, 11 deletions
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php
index cf551cc7c..eb6cdbd5d 100644
--- a/actions/usersettings/save.php
+++ b/actions/usersettings/save.php
@@ -2,17 +2,10 @@
/**
* Aggregate action for saving settings
*
- * @package Elgg
- * @subpackage Core
- * @link http://elgg.org/
+ * @package Elgg.Core
+ * @subpackage UserSettings
*/
-require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-global $CONFIG;
+elgg_trigger_plugin_hook('usersettings:save', 'user');
-gatekeeper();
-action_gatekeeper();
-
-trigger_plugin_hook('usersettings:save','user');
-
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER);