1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 02:59:52 +02:00

[ticket/9657] Remove last references to m_restore permission

PHPBB3-9657
This commit is contained in:
Joas Schilling
2013-07-12 07:24:35 -04:00
parent d43645adfa
commit e1bf87844b
2 changed files with 2 additions and 4 deletions

View File

@@ -423,8 +423,7 @@ if ($forum_data['forum_type'] == FORUM_POST)
while ($row = $db->sql_fetchrow($result))
{
if (($row['topic_visibility'] == ITEM_UNAPPROVED && !$auth->acl_get('m_approve', $row['forum_id']))
&& ($row['topic_visibility'] == ITEM_DELETED && !$auth->acl_get('m_restore', $row['forum_id'])))
if ($row['topic_visibility'] != ITEM_APPROVED && !$auth->acl_get('m_approve', $row['forum_id']))
{
// Do not display announcements that are waiting for approval or soft deleted.
continue;