From df0db8a33eee58faa566c84754cbba031a8e0a12 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 4 Oct 2008 11:33:24 +0000 Subject: [PATCH] Correct, Chris - we don't need them. mea culpa :P --- root/portal/block/announcements.php | 3 --- root/portal/block/news.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/root/portal/block/announcements.php b/root/portal/block/announcements.php index 7153aaa5..e1298b76 100644 --- a/root/portal/block/announcements.php +++ b/root/portal/block/announcements.php @@ -179,9 +179,6 @@ else // Grab icons $icons = $cache->obtain_icons(); - // Not defined, delete these 2 lines? - //$forum_data = $db->sql_fetchrow($result); - //$s_display_active = ($forum_data['forum_type'] == FORUM_CAT && ($forum_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) ? true : false; $template->assign_block_vars('announcements_row', array( 'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $config['allow_attachments']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '', diff --git a/root/portal/block/news.php b/root/portal/block/news.php index 4a6928e0..bec15f5a 100644 --- a/root/portal/block/news.php +++ b/root/portal/block/news.php @@ -165,9 +165,6 @@ else // Grab icons $icons = $cache->obtain_icons(); - // Not defined, delete these 2 lines? - //$forum_data = $db->sql_fetchrow($result); - //$s_display_active = ($forum_data['forum_type'] == FORUM_CAT && ($forum_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS)) ? true : false; $template->assign_block_vars('news_row', array( 'ATTACH_ICON_IMG' => ($fetch_news[$i]['attachment'] && $config['allow_attachments']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',