aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user')
-rw-r--r--actions/admin/user/ban.php2
-rw-r--r--actions/admin/user/delete.php4
-rw-r--r--actions/admin/user/makeadmin.php2
-rw-r--r--actions/admin/user/removeadmin.php2
-rw-r--r--actions/admin/user/resetpassword.php2
-rw-r--r--actions/admin/user/unban.php2
6 files changed, 0 insertions, 14 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php
index 5ad6c29c5..a8fa57925 100644
--- a/actions/admin/user/ban.php
+++ b/actions/admin/user/ban.php
@@ -9,8 +9,6 @@
* @subpackage Administration.User
*/
-admin_gatekeeper();
-
$guid = get_input('guid');
$user = get_entity($guid);
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php
index a5e1886ec..c6ed5b819 100644
--- a/actions/admin/user/delete.php
+++ b/actions/admin/user/delete.php
@@ -9,10 +9,6 @@
* @subpackage Administration.User
*/
-// block non-admin users - require since this action is not registered
-// @todo why isn't this action registered?
-admin_gatekeeper();
-
// Get the user
$guid = get_input('guid');
$user = get_entity($guid);
diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php
index 19f365d62..54b0b7070 100644
--- a/actions/admin/user/makeadmin.php
+++ b/actions/admin/user/makeadmin.php
@@ -11,8 +11,6 @@
* @subpackage Administration.User
*/
-admin_gatekeeper();
-
$guid = get_input('guid');
$user = get_entity($guid);
diff --git a/actions/admin/user/removeadmin.php b/actions/admin/user/removeadmin.php
index 97bfc396b..4466e925f 100644
--- a/actions/admin/user/removeadmin.php
+++ b/actions/admin/user/removeadmin.php
@@ -6,8 +6,6 @@
* @subpackage Administration.User
*/
-admin_gatekeeper();
-
$guid = get_input('guid');
$user = get_entity($guid);
diff --git a/actions/admin/user/resetpassword.php b/actions/admin/user/resetpassword.php
index 14de69cb6..e3f737974 100644
--- a/actions/admin/user/resetpassword.php
+++ b/actions/admin/user/resetpassword.php
@@ -14,8 +14,6 @@
* @subpackage Administration.User
*/
-admin_gatekeeper();
-
$guid = get_input('guid');
$user = get_entity($guid);
diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php
index 883e074ed..7a772a0d3 100644
--- a/actions/admin/user/unban.php
+++ b/actions/admin/user/unban.php
@@ -6,8 +6,6 @@
* @subpackage Administration.User
*/
-admin_gatekeeper();
-
$access_status = access_get_show_hidden_status();
access_show_hidden_entities(true);