|
From: Paul S. O. <ps...@us...> - 2002-04-04 15:29:31
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv908/includes
Modified Files:
prune.php
Log Message:
Minor change to cope with a now fixed (I think) situation where last_post_id was set to 0 ... would leave these topics and posts in place during prune
Index: prune.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/prune.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** prune.php 2 Apr 2002 15:10:41 -0000 1.18
--- prune.php 4 Apr 2002 11:51:25 -0000 1.19
***************
*** 40,44 ****
AND t.topic_vote = 0
AND t.topic_type <> " . POST_ANNOUNCE . "
! AND p.post_id = t.topic_last_post_id";
if ( $prune_date != '' )
{
--- 40,45 ----
AND t.topic_vote = 0
AND t.topic_type <> " . POST_ANNOUNCE . "
! AND ( p.post_id = t.topic_last_post_id
! OR t.topic_last_post_id = 0 )";
if ( $prune_date != '' )
{
|