mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[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
This commit is contained in:
@@ -62,7 +62,7 @@ class phpbb_content_visibility_set_post_visibility_test extends phpbb_database_t
|
||||
array('post_id' => 3, 'post_visibility' => 2, 'post_delete_reason' => ''),
|
||||
),
|
||||
array(
|
||||
array('topic_visibility' => 0, 'topic_first_post_id' => 1, 'topic_last_post_id' => 3),
|
||||
array('topic_visibility' => 2, 'topic_first_post_id' => 1, 'topic_last_post_id' => 3),
|
||||
),
|
||||
),
|
||||
array(
|
||||
|
Reference in New Issue
Block a user