summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-12-18 15:19:34 +0300
committerAndrew Dolgov <[email protected]>2009-12-18 15:19:34 +0300
commit95004daf9dcb46fc0e74f631e184ea4aea46ffd5 (patch)
tree5ef305f20a565db352dc9317c464768e01859632 /functions.php
parent78d7a965591bdc9d70ef2275b310940b4d58fc52 (diff)
mobile: implement WIP pagination for flat feedlist
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index c0d9eaaea..6708612d6 100644
--- a/functions.php
+++ b/functions.php
@@ -2568,6 +2568,13 @@
}
+ function getSubscribedFeeds($link) {
+ $result = db_query($link, "SELECT COUNT(id) AS fn FROM
+ ttrss_feeds WHERE owner_uid = " . $_SESSION["uid"]);
+
+ return db_fetch_result($result, 0, "fn");
+ }
+
function getTagCounters($link, $smart_mode = SMART_RPC_COUNTERS) {
if ($smart_mode) {