From 95004daf9dcb46fc0e74f631e184ea4aea46ffd5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 Dec 2009 15:19:34 +0300 Subject: mobile: implement WIP pagination for flat feedlist --- functions.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functions.php') 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) { -- cgit v1.2.3-54-g00ecf