mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/9995] Remove useless statement from display_forums()
The $forum_ids array is only used if $mark_read == 'forums'. When $mark_read == 'forums', we either continue when $auth->acl_get('f_list', $forum_id) is false or true. So this statement is never useful. PHPBB3-9995
This commit is contained in:
parent
540ca1a8d8
commit
e4e854863f
1 changed files with 0 additions and 2 deletions
|
@ -152,8 +152,6 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
|||
continue;
|
||||
}
|
||||
|
||||
$forum_ids[] = $forum_id;
|
||||
|
||||
if ($config['load_db_lastread'] && $user->data['is_registered'])
|
||||
{
|
||||
$forum_tracking_info[$forum_id] = (!empty($row['mark_time'])) ? $row['mark_time'] : $user->data['user_lastmark'];
|
||||
|
|
Loading…
Add table
Reference in a new issue