diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
commit | fcb0c89962242fec72d7ed01c7049601a696e4be (patch) | |
tree | ceb9de55f45604fc5aa55df75dcd69ce0e356f2c /phpBB/adm | |
parent | 61616582628fa1b6e61f5522d3e64c454e66bb5d (diff) | |
download | forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.gz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.bz2 forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.xz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.zip |
Cleaning up (#13689)
Also removed the useless login box from the ACP.
git-svn-id: file:///svn/phpbb/trunk@7919 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/index.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 836d2556f8..ce8a54d6de 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -27,12 +27,6 @@ $auth->acl($user->data); $user->setup('acp/common'); // End session management -// Did user forget to login? Give 'em a chance to here ... -if ($user->data['user_id'] == ANONYMOUS) -{ - login_box('', $user->lang['LOGIN_ADMIN'], $user->lang['LOGIN_ADMIN_SUCCESS'], true); -} - // Have they authenticated (again) as an admin for this session? if (!isset($user->data['session_admin']) || !$user->data['session_admin']) { @@ -43,7 +37,7 @@ if (!isset($user->data['session_admin']) || !$user->data['session_admin']) // check specific permissions but this is a catchall if (!$auth->acl_get('a_')) { - trigger_error($user->lang['NO_ADMIN']); + trigger_error('NO_ADMIN'); } // We define the admin variables now, because the user is now able to use the admin related features... |