mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
9c3d84f4e1
commit
8fc6378764
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue