diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 7 |
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) { |