diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-04 13:09:10 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-04 13:09:10 +0000 |
commit | 30aeac65dccceab18e19318e5981118f150c0647 (patch) | |
tree | 409e1a742796ff1c988593c43f19a9533c258742 /phpBB/modcp.php | |
parent | b5bbc005a51658c7496abdcad9b23e978fb7db68 (diff) | |
download | forums-30aeac65dccceab18e19318e5981118f150c0647.tar forums-30aeac65dccceab18e19318e5981118f150c0647.tar.gz forums-30aeac65dccceab18e19318e5981118f150c0647.tar.bz2 forums-30aeac65dccceab18e19318e5981118f150c0647.tar.xz forums-30aeac65dccceab18e19318e5981118f150c0647.zip |
Well, here are all my changes ... don't blame me if things break :D
git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modcp.php')
-rw-r--r-- | phpBB/modcp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modcp.php b/phpBB/modcp.php index cc264708d5..e64953eb0d 100644 --- a/phpBB/modcp.php +++ b/phpBB/modcp.php @@ -124,7 +124,7 @@ else // Start session management // $userdata = $session->start(); -$acl = new acl($userdata, $forum_id); +$auth->acl($userdata, $forum_id); // // End session management // @@ -167,7 +167,7 @@ else // // Auth check // -if ( !$acl->get_acl($forum_id, 'mod') ) +if ( !$auth->get_acl($forum_id, 'mod') ) { message_die(MESSAGE, $lang['Not_Moderator'], $lang['Not_Authorised']); } |