fixed bug #1301 - Nuttzy99

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3581 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-02-28 17:04:09 +00:00
parent 9c3d84f4e1
commit 8fc6378764

View file

@ -108,13 +108,6 @@ function prune($forum_id, $prune_date, $prune_all = false)
message_die(GENERAL_ERROR, 'Could not delete post during prune', '', __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . SEARCH_MATCH_TABLE . "
WHERE post_id IN ($sql_post)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete search matches', '', __LINE__, __FILE__, $sql);
}
remove_search_post($sql_post);
return array ('topics' => $pruned_topics, 'posts' => $pruned_posts);