1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-28 13:37:11 +00:00

move to Article:

+       static function purge_orphans($do_output = false) {

move to Feeds

+       static function getGlobalUnread($user_id = false) {
+       static function getCategoryTitle($cat_id) {
+       static function getLabelUnread($label_id, $owner_uid = false) {
This commit is contained in:
Andrew Dolgov
2017-05-04 15:00:21 +03:00
parent 86a8351ca2
commit a230bf88a9
10 changed files with 128 additions and 127 deletions

View File

@@ -1542,7 +1542,7 @@ class Pref_Feeds extends Handler_Protected {
$obj['id'] = 'CAT:' . $cat_id;
$obj['items'] = array();
$obj['name'] = getCategoryTitle($cat_id);
$obj['name'] = Feeds::getCategoryTitle($cat_id);
$obj['type'] = 'category';
$obj['unread'] = (int) $cat_unread;
$obj['bare_id'] = $cat_id;