aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
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);