diff options
Diffstat (limited to 'actions/admin/user/removeadmin.php')
-rw-r--r-- | actions/admin/user/removeadmin.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/admin/user/removeadmin.php b/actions/admin/user/removeadmin.php index 2e1bbe180..33d719adc 100644 --- a/actions/admin/user/removeadmin.php +++ b/actions/admin/user/removeadmin.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); global $CONFIG; // block non-admin users @@ -30,4 +29,4 @@ if (($obj instanceof ElggUser) && ($obj->canEdit())) { register_error(elgg_echo('admin:user:removeadmin:no')); } -forward($_SERVER['HTTP_REFERER']);
\ No newline at end of file +forward($_SERVER['HTTP_REFERER']); |