aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-05-08 01:14:14 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-05-08 01:14:14 +0000
commit711d90b44ff23b5bc9ad63382f0251ca8ef30491 (patch)
tree3237f7b1dce32ee368176b8d395fdefed912be58 /phpBB/viewforum.php
parentbb373ebcba8d4ea15e617cd7edbfd54681712fcc (diff)
downloadforums-711d90b44ff23b5bc9ad63382f0251ca8ef30491.tar
forums-711d90b44ff23b5bc9ad63382f0251ca8ef30491.tar.gz
forums-711d90b44ff23b5bc9ad63382f0251ca8ef30491.tar.bz2
forums-711d90b44ff23b5bc9ad63382f0251ca8ef30491.tar.xz
forums-711d90b44ff23b5bc9ad63382f0251ca8ef30491.zip
Changed forum_link_track to forum_flags for storage of additional info [ pruning related ], moved lang selection into DB, other minor changes, still working on admin_prune, per forum styling for posting
git-svn-id: file:///svn/phpbb/trunk@3989 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 1346fcc73c..ff5eb34021 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -101,7 +101,7 @@ $db->sql_freeresult($result);
if ($forum_data['forum_link'])
{
// Does it have click tracking enabled?
- if ($forum_data['forum_link_track'])
+ if ($forum_data['forum_flags'] & 1)
{
$sql = 'UPDATE ' . FORUMS_TABLE . '
SET forum_posts = forum_posts + 1
@@ -173,17 +173,17 @@ if ($forum_data['forum_type'] == FORUM_POST)
trigger_error($message);
}
-/*
+
// Do the forum Prune - cron type job ...
- if ($config['prune_enable'] && $auth->acl_get('a_'))
+ if ($auth->acl_get('a_'))
{
- if ($forum_data['prune_next'] < time() && $forum_data['prune_enable'])
+ if ($forum_data['prune_next'] < time() && $forum_data['enable_prune'])
{
- require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
- auto_prune($forum_id, $forum_data['prune_days'], $forum_data['prune_freq']);
+ include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
+ auto_prune($forum_id, $forum_data['forum_flags'], $forum_data['prune_days'], $forum_data['prune_freq']);
}
}
-*/
+
// Forum rules, subscription info and word censors
$s_watching_forum = $s_watching_forum_img = '';