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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user