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/viewforum.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/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index cd7defe107..f32d2b96e2 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -54,7 +54,7 @@ $start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : // Start session management // $userdata = $session->start(); -$acl = new acl($userdata, $forum_id); +$auth->acl($userdata, $forum_id); // // End session management // @@ -83,7 +83,7 @@ $session->configure($userdata); // // Auth check // -if (!$acl->get_acl($forum_id, 'forum', 'read')) +if (!$auth->get_acl($forum_id, 'forum', 'read')) { if ( $userdata['user_id'] ) { @@ -155,7 +155,7 @@ foreach ($forum_branch as $row) } elseif ($row['forum_status'] != ITEM_CATEGORY) { - if ($acl->get_acl($row['forum_id'], 'forum', 'list')) + if ($auth->get_acl($row['forum_id'], 'forum', 'list')) { $subforums[$parent_id][] = $row; } @@ -195,7 +195,7 @@ if ( $mark_read == 'topics' ) // // Do the forum Prune // -if ( $acl->get_acl($forum_id, 'mod', 'prune') && $board_config['prune_enable'] ) +if ( $auth->get_acl($forum_id, 'mod', 'prune') && $board_config['prune_enable'] ) { if ( $forum_data['prune_next'] < time() && $forum_data['prune_enable'] ) { |
