aboutsummaryrefslogtreecommitdiff
path: root/actions/usersettings
diff options
context:
space:
mode:
Diffstat (limited to 'actions/usersettings')
-rw-r--r--actions/usersettings/save.php30
1 files changed, 13 insertions, 17 deletions
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php
index 8c920def1..cf551cc7c 100644
--- a/actions/usersettings/save.php
+++ b/actions/usersettings/save.php
@@ -1,22 +1,18 @@
<?php
- /**
- * Aggregate action for saving settings
- *
- * @package Elgg
- * @subpackage Core
+/**
+ * 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/
- */
+gatekeeper();
+action_gatekeeper();
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- global $CONFIG;
+trigger_plugin_hook('usersettings:save','user');
- gatekeeper();
- action_gatekeeper();
-
- trigger_plugin_hook('usersettings:save','user');
-
- forward($_SERVER['HTTP_REFERER']);
-
-?>
+forward($_SERVER['HTTP_REFERER']); \ No newline at end of file