[feature/soft-delete] Topic visibility is already synced by sync('topic')

PHPBB3-9567
This commit is contained in:
Joas Schilling 2012-10-09 11:55:31 +02:00
parent e447a0fa07
commit 9441774288

View file

@ -314,7 +314,6 @@ class acp_forums
$end = $start + $batch_size;
// Sync all topics in batch mode...
sync('topic_visibility', 'range', 'topic_id BETWEEN ' . $start . ' AND ' . $end, true, false);
sync('topic', 'range', 'topic_id BETWEEN ' . $start . ' AND ' . $end, true, true);
if ($end < $row2['max_topic_id'])