diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 15:38:50 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-09 15:38:50 +0200 |
commit | fbf85b76c15c27e478f24947098d56c8c4bb3435 (patch) | |
tree | 1b9838a92ae8d544e5f30a463a773cd742d9a467 /phpBB/install/install_convert.php | |
parent | 224be5bc4f7ffdf6f22c3da3aff94fb7a3d7571f (diff) | |
download | forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.gz forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.bz2 forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.tar.xz forums-fbf85b76c15c27e478f24947098d56c8c4bb3435.zip |
[feature/soft-delete] Correctly synchronize the topic_visibility in sync()
This also makes sync('topic_visibility') obsolete, but we keep it for now.
Also fix a unit test, because ITEM_DELETED overpowers ITEM_UNAPPROVED
PHPBB3-9567
Diffstat (limited to 'phpBB/install/install_convert.php')
-rw-r--r-- | phpBB/install/install_convert.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php index 60606d74ab..9b91d4c495 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -1465,7 +1465,6 @@ class install_convert extends module $end = ($sync_batch + $batch_size - 1); // Sync all topics in batch mode... - sync('topic_visibility', 'range', 'topic_id BETWEEN ' . $sync_batch . ' AND ' . $end, true, false); sync('topic', 'range', 'topic_id BETWEEN ' . $sync_batch . ' AND ' . $end, true, true); $template->assign_block_vars('checks', array( |