aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/removeadmin.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-13 15:31:24 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-13 15:31:24 +0000
commitb06c6d6f157513e2fc5d6eaa1e6c02d1e1046567 (patch)
tree2037cc644e26084359f38de7c5f582a88779988c /actions/admin/user/removeadmin.php
parentdd354e7b0f75e59ed3be40dc7d7a3a8262213ccb (diff)
downloadelgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.gz
elgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.bz2
Refs #2450: Updated docs for core admin actions.
git-svn-id: http://code.elgg.org/elgg/trunk@6929 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/user/removeadmin.php')
-rw-r--r--actions/admin/user/removeadmin.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/actions/admin/user/removeadmin.php b/actions/admin/user/removeadmin.php
index b5872e592..9e8c55ac9 100644
--- a/actions/admin/user/removeadmin.php
+++ b/actions/admin/user/removeadmin.php
@@ -1,19 +1,13 @@
<?php
/**
- * Make another user an admin.
+ * Revokes admin privileges from a user.
*
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
+ * @package Elgg.Core
+ * @subpackage Administration.User
*/
-global $CONFIG;
-
-// block non-admin users
admin_gatekeeper();
-// Get the user
$guid = get_input('guid');
$user = get_entity($guid);