mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
Rename get_unread_topics_list() to get_unread_topics().
Cleanup: Remove some stuff we no longer need. Related to report #46765 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10120 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -103,12 +103,12 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
$forum_tracking_info = array();
|
||||
$branch_root_id = $root_data['forum_id'];
|
||||
|
||||
// Check for unread global announcements
|
||||
// For index page only we do it
|
||||
// Check for unread global announcements (index page only)
|
||||
$ga_unread = false;
|
||||
if ($root_data['forum_id'] == 0)
|
||||
{
|
||||
$unread_ga_list = get_unread_topics_list($user->data['user_id'], 'AND t.forum_id = 0');
|
||||
$unread_ga_list = get_unread_topics($user->data['user_id'], 'AND t.forum_id = 0');
|
||||
|
||||
if (sizeof($unread_ga_list))
|
||||
{
|
||||
$ga_unread = true;
|
||||
|
Reference in New Issue
Block a user