aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 17:13:07 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 17:13:07 +0000
commit3e5f7cf353e44de8d4d22c19f3c904b0a16401a8 (patch)
tree944896130678ee77e42cc68fed868ba3c52116b5
parentd45ed50778adedd0155106d3826e7b00a4c5cedf (diff)
downloadelgg-3e5f7cf353e44de8d4d22c19f3c904b0a16401a8.tar.gz
elgg-3e5f7cf353e44de8d4d22c19f3c904b0a16401a8.tar.bz2
Added gatekeeper
git-svn-id: https://code.elgg.org/elgg/trunk@1109 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--actions/plugins/settings/save.php2
-rw-r--r--actions/plugins/usersettings/save.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/actions/plugins/settings/save.php b/actions/plugins/settings/save.php
index 0a8991641..e1e53a2a6 100644
--- a/actions/plugins/settings/save.php
+++ b/actions/plugins/settings/save.php
@@ -13,6 +13,8 @@
$params = get_input('params');
$plugin = get_input('plugin');
+ gatekeeper();
+
$result = false;
foreach ($params as $k => $v)
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index 9dfda8a90..aba759ea2 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -13,6 +13,8 @@
$params = get_input('params');
$plugin = get_input('plugin');
+ gatekeeper();
+
$result = false;
foreach ($params as $k => $v)