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/mcp.php | |
| 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/mcp.php')
| -rw-r--r-- | phpBB/mcp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 94c17c83f7..839c8082c6 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -129,14 +129,14 @@ if (!$auth->acl_getf_global('m_')) if (!$allow_user) { - trigger_error($user->lang['NOT_AUTHORISED']); + trigger_error('NOT_AUTHORISED'); } } // if the user cannot read the forum he tries to access then we won't allow mcp access either if ($forum_id && !$auth->acl_get('f_read', $forum_id)) { - trigger_error($user->lang['NOT_AUTHORISED']); + trigger_error('NOT_AUTHORISED'); } if ($forum_id) |
