aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/removeadmin.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
commit6526a83f52eac96a4c522c041ae5c0bfb24795d8 (patch)
tree999fd86c2a6f37f619c59281790e7c278e65072a /actions/admin/user/removeadmin.php
parent1531cecc00c86d2e784cb6b84d24088edf879dcd (diff)
downloadelgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.gz
elgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.bz2
Removing calls to engine/start.php in action files.
git-svn-id: http://code.elgg.org/elgg/trunk@3834 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/user/removeadmin.php')
-rw-r--r--actions/admin/user/removeadmin.php3
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']);