aboutsummaryrefslogtreecommitdiff
path: root/actions/usersettings
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-14 20:41:19 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-14 20:41:19 +0000
commit12d286988dbcdff5aad3620838e7ab777ac67a92 (patch)
tree9d73437fbfb39f3f9f3c27852e70ec1f71aed0eb /actions/usersettings
parent501c0e13cc4db687abb36a937709f8e9de643339 (diff)
downloadelgg-12d286988dbcdff5aad3620838e7ab777ac67a92.tar.gz
elgg-12d286988dbcdff5aad3620838e7ab777ac67a92.tar.bz2
Standardized actions/*
git-svn-id: http://code.elgg.org/elgg/trunk@3542 36083f99-b078-4883-b0ff-0f9b5a30f544
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