diff options
Diffstat (limited to 'actions/admin/user/removeadmin.php')
-rw-r--r-- | actions/admin/user/removeadmin.php | 12 |
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); |