aboutsummaryrefslogtreecommitdiff
path: root/actions/usersettings
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 15:48:28 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 15:48:28 +0000
commit31c5b57b92b2b2442527cc601eab113e047b0e93 (patch)
tree7cae2e88ab91dde44dce8fbdaded4e1e977b0cf8 /actions/usersettings
parent6bb9e16e357eb718e954255b59681d519cda57ae (diff)
downloadelgg-31c5b57b92b2b2442527cc601eab113e047b0e93.tar.gz
elgg-31c5b57b92b2b2442527cc601eab113e047b0e93.tar.bz2
Unified user settings form
git-svn-id: https://code.elgg.org/elgg/trunk@1149 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/usersettings')
-rw-r--r--actions/usersettings/save.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php
new file mode 100644
index 000000000..6322369bc
--- /dev/null
+++ b/actions/usersettings/save.php
@@ -0,0 +1,21 @@
+<?php
+ /**
+ * Aggregate action for saving settings
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ global $CONFIG;
+
+ gatekeeper();
+
+ trigger_plugin_hook('usersettings:save','user');
+
+ forward($_SERVER['HTTP_REFERER']);
+
+?>