diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-13 03:31:16 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-13 03:31:16 +0000 |
commit | a818e6fc766efa996df2841d63f1c943f97513b5 (patch) | |
tree | abd8001026ee52b181e9584f96c44acb110a737f /engine/lib/admin.php | |
parent | c499b05093744813a04fe537e0b588a547f3a784 (diff) | |
download | elgg-a818e6fc766efa996df2841d63f1c943f97513b5.tar.gz elgg-a818e6fc766efa996df2841d63f1c943f97513b5.tar.bz2 |
First pass at removing $is_admin global.
git-svn-id: http://code.elgg.org/elgg/trunk@3528 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r-- | engine/lib/admin.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 0c687e255..c598295be 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -55,10 +55,10 @@ function admin_init() { // Page handler register_page_handler('admin','admin_settings_page_handler'); - if (isadminloggedin()) { - global $is_admin; - $is_admin = true; - } +// if (isadminloggedin()) { +// global $is_admin; +// $is_admin = true; +// } } /** |