aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-02-22 15:48:29 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-02-22 15:48:29 +0000
commit95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc (patch)
treed603f3dcb7e1a2172478fe0a043cd27be221604f /phpBB/modules/mcp/mcp_main.php
parent794c5749696c9fa2595ed3a1d7c836a0d984e11c (diff)
downloadforums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar
forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.gz
forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.bz2
forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.xz
forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.zip
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/mcp/mcp_main.php')
-rw-r--r--phpBB/modules/mcp/mcp_main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/mcp/mcp_main.php b/phpBB/modules/mcp/mcp_main.php
index 3fa38c7d1f..73b4e880ea 100644
--- a/phpBB/modules/mcp/mcp_main.php
+++ b/phpBB/modules/mcp/mcp_main.php
@@ -558,7 +558,7 @@ function mcp_move_topic($topic_ids)
{
$additional_msg = phpbb::$user->lang['FORUM_NOT_POSTABLE'];
}
- else if (!$auth->acl_get('f_post', $to_forum_id))
+ else if (!phpbb::$acl->acl_get('f_post', $to_forum_id))
{
$additional_msg = phpbb::$user->lang['USER_CANNOT_POST'];
}
@@ -956,7 +956,7 @@ function mcp_fork_topic($topic_ids)
{
$additional_msg = phpbb::$user->lang['FORUM_NOT_POSTABLE'];
}
- else if (!$auth->acl_get('f_post', $to_forum_id))
+ else if (!phpbb::$acl->acl_get('f_post', $to_forum_id))
{
$additional_msg = phpbb::$user->lang['USER_CANNOT_POST'];
}