summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-10 12:05:55 +0300
committerAndrew Dolgov <[email protected]>2010-11-10 12:05:55 +0300
commit6e63a7c3062cd152cac8fc3d673675a1518fd545 (patch)
treef097dbf5e7d9e50f42e0a4ba21ca2d0dc1a524fd /mobile
parentfe1c99af3a6285159216abbdb8c751548fb700f6 (diff)
remove feed linking
Diffstat (limited to 'mobile')
-rw-r--r--mobile/classic/functions.php15
-rw-r--r--mobile/functions.php4
2 files changed, 2 insertions, 17 deletions
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"];
diff --git a/mobile/functions.php b/mobile/functions.php
index 6dec6440d..7f5dd5c6f 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -52,8 +52,7 @@
AND owner_uid = '$owner_uid') AS unread
FROM ttrss_feeds
WHERE
- ttrss_feeds.owner_uid = '$owner_uid' AND
- parent_feed IS NULL
+ ttrss_feeds.owner_uid = '$owner_uid'
ORDER BY $order_by $limit_qpart");
if (!$offset) print '<ul id="home" title="'.__('Home').'" selected="true"
@@ -127,7 +126,6 @@
FROM ttrss_feeds
WHERE
ttrss_feeds.owner_uid = '$owner_uid' AND
- parent_feed IS NULL AND
$cat_query
ORDER BY $order_by");