aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:49:54 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:49:54 +0000
commit5003371ec531296d6aa60156b16199df33395bdf (patch)
treed2741ab131630fdff04b40d4ea9899d45f191843 /mod/profile
parent38f3674095d16bfb73320eb2e0b566ad4484882d (diff)
downloadelgg-5003371ec531296d6aa60156b16199df33395bdf.tar.gz
elgg-5003371ec531296d6aa60156b16199df33395bdf.tar.bz2
Refs #2451: Removes (admin_)gatekeeper() calls from core plugin actions
git-svn-id: http://code.elgg.org/elgg/trunk@7434 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/actions/cropicon.php2
-rw-r--r--mod/profile/actions/deletedefaultprofileitem.php2
-rw-r--r--mod/profile/actions/edit.php1
-rw-r--r--mod/profile/actions/editdefault.php1
-rw-r--r--mod/profile/actions/editfield.php2
-rw-r--r--mod/profile/actions/iconupload.php2
-rw-r--r--mod/profile/actions/reorder.php1
-rw-r--r--mod/profile/actions/resetdefaultprofile.php1
8 files changed, 0 insertions, 12 deletions
diff --git a/mod/profile/actions/cropicon.php b/mod/profile/actions/cropicon.php
index c44cee6bd..c65b5f56d 100644
--- a/mod/profile/actions/cropicon.php
+++ b/mod/profile/actions/cropicon.php
@@ -5,8 +5,6 @@
* @package ElggProfile
*/
-gatekeeper();
-
$profile_username = get_input('username');
$profile_owner = get_user_by_username($profile_username);
diff --git a/mod/profile/actions/deletedefaultprofileitem.php b/mod/profile/actions/deletedefaultprofileitem.php
index f3880954f..6791d2c46 100644
--- a/mod/profile/actions/deletedefaultprofileitem.php
+++ b/mod/profile/actions/deletedefaultprofileitem.php
@@ -7,8 +7,6 @@
global $CONFIG;
-admin_gatekeeper();
-
$id = get_input('id');
$fieldlist = get_plugin_setting('user_defined_fields', 'profile');
diff --git a/mod/profile/actions/edit.php b/mod/profile/actions/edit.php
index 312b72a1a..da7553b6e 100644
--- a/mod/profile/actions/edit.php
+++ b/mod/profile/actions/edit.php
@@ -6,7 +6,6 @@
*/
global $CONFIG;
-gatekeeper();
$profile_username = get_input('username');
$profile_owner = get_user_by_username($profile_username);
diff --git a/mod/profile/actions/editdefault.php b/mod/profile/actions/editdefault.php
index 1d50f432a..96e878402 100644
--- a/mod/profile/actions/editdefault.php
+++ b/mod/profile/actions/editdefault.php
@@ -6,7 +6,6 @@
*/
global $CONFIG;
-admin_gatekeeper();
$label = sanitise_string(get_input('label'));
$type = sanitise_string(get_input('type'));
diff --git a/mod/profile/actions/editfield.php b/mod/profile/actions/editfield.php
index 7df7dd9cc..b3bd887ef 100644
--- a/mod/profile/actions/editfield.php
+++ b/mod/profile/actions/editfield.php
@@ -5,8 +5,6 @@
* @package ElggProfile
*/
-admin_gatekeeper();
-
$field = get_input('field');
$text = get_input('value');
diff --git a/mod/profile/actions/iconupload.php b/mod/profile/actions/iconupload.php
index d0a3cf28a..546aa0e9c 100644
--- a/mod/profile/actions/iconupload.php
+++ b/mod/profile/actions/iconupload.php
@@ -5,8 +5,6 @@
* @package ElggProfile
*/
-gatekeeper();
-
$profile_username = get_input('username');
$profile_owner = get_user_by_username($profile_username);
diff --git a/mod/profile/actions/reorder.php b/mod/profile/actions/reorder.php
index dfb2bfb3d..a30e97bac 100644
--- a/mod/profile/actions/reorder.php
+++ b/mod/profile/actions/reorder.php
@@ -5,7 +5,6 @@
* @package ElggProfile
*/
-admin_gatekeeper();
$ordering = get_input('fieldorder');
//if (!empty($ordering))
$result = set_plugin_setting('user_defined_fields',$ordering,'profile');
diff --git a/mod/profile/actions/resetdefaultprofile.php b/mod/profile/actions/resetdefaultprofile.php
index facc82f71..3ada044e8 100644
--- a/mod/profile/actions/resetdefaultprofile.php
+++ b/mod/profile/actions/resetdefaultprofile.php
@@ -6,7 +6,6 @@
*/
global $CONFIG;
-admin_gatekeeper();
if ($fieldlist = get_plugin_setting('user_defined_fields', 'profile')) {
$fieldlistarray = explode(',', $fieldlist);