aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-09-08 08:53:01 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-09-08 08:53:01 +0000
commitd85493ab16658387d603ca0d949e65bc3ea1533c (patch)
tree23ca938b0a93774dc085949c9c97d0ae0354ea45 /phpBB/includes/functions_display.php
parentd92cbe7fd1223bd21ec6ebb28567ca3f37ec25f4 (diff)
downloadforums-d85493ab16658387d603ca0d949e65bc3ea1533c.tar
forums-d85493ab16658387d603ca0d949e65bc3ea1533c.tar.gz
forums-d85493ab16658387d603ca0d949e65bc3ea1533c.tar.bz2
forums-d85493ab16658387d603ca0d949e65bc3ea1533c.tar.xz
forums-d85493ab16658387d603ca0d949e65bc3ea1533c.zip
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
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 328c4b1274..5caccc81d9 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -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;