aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-09-07 17:16:12 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-09-07 17:16:12 +0000
commitdb2a73d2f07cd04e787c0b9ecc5533e4895a400b (patch)
tree02b4efb589aac7d7f7663c24ed2bd48feef2d156 /phpBB/viewforum.php
parent734b62cca6e72d1722a90c63f5779d79186d136f (diff)
downloadforums-db2a73d2f07cd04e787c0b9ecc5533e4895a400b.tar
forums-db2a73d2f07cd04e787c0b9ecc5533e4895a400b.tar.gz
forums-db2a73d2f07cd04e787c0b9ecc5533e4895a400b.tar.bz2
forums-db2a73d2f07cd04e787c0b9ecc5533e4895a400b.tar.xz
forums-db2a73d2f07cd04e787c0b9ecc5533e4895a400b.zip
okie, using array_merge. :D
fixed: admin_prune added: prune topics last viewed at... (only admin_prune ATM) moved: delete_attachments to functions_admin git-svn-id: file:///svn/phpbb/trunk@4482 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index ec51f8e118..5f25b89dbb 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -176,7 +176,8 @@ if ($forum_data['forum_type'] == FORUM_POST)
if ($forum_data['prune_next'] < time() && $forum_data['enable_prune'])
{
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']);
+ // TODO - include viewed too... new row necessary for auto pruning...
+ auto_prune($forum_id, 'posted', $forum_data['forum_flags'], $forum_data['prune_days'], $forum_data['prune_freq']);
}
// Forum rules, subscription info and word censors