phpbb/phpbb — pull request #2265 by nickvergessen (2014-04-07 17:25:12+00:00)
Title: [ticket/12370] Do not delete topic notifications when the topic is visible

We should only delete the topic notifications, when the topic is not approved
anymore. This happens, when the post was the last approved but is now
unapproved because the user is on queue, or when it has been softdeleted while
editing.

http://tracker.phpbb.com/browse/PHPBB3-12370