From 6e63a7c3062cd152cac8fc3d673675a1518fd545 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Nov 2010 12:05:55 +0300 Subject: remove feed linking --- mobile/classic/functions.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'mobile/classic') diff --git a/mobile/classic/functions.php b/mobile/classic/functions.php index 4cb58308e..5e1ba8009 100644 --- a/mobile/classic/functions.php +++ b/mobile/classic/functions.php @@ -127,7 +127,7 @@ FROM ttrss_feeds LEFT JOIN ttrss_feed_categories ON (ttrss_feed_categories.id = cat_id) WHERE - ttrss_feeds.owner_uid = '$owner_uid' AND parent_feed IS NULL + ttrss_feeds.owner_uid = '$owner_uid' ORDER BY $order_by_qpart"); $actid = $_GET["actid"]; @@ -159,19 +159,6 @@ $rtl_tag = ""; } - $tmp_result = db_query($link, - "SELECT id,COUNT(unread) AS unread - FROM ttrss_feeds LEFT JOIN ttrss_user_entries - ON (ttrss_feeds.id = ttrss_user_entries.feed_id) - WHERE parent_feed = '$feed_id' AND unread = true - GROUP BY ttrss_feeds.id"); - - if (db_num_rows($tmp_result) > 0) { - while ($l = db_fetch_assoc($tmp_result)) { - $unread += $l["unread"]; - } - } - $cat_id = $line["cat_id"]; $tmp_category = $line["category"]; -- cgit v1.2.3