From 7c9b5a3fe40a641af1cb6003b03b2352576a0c4b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 May 2017 15:57:40 +0300 Subject: move label stuff to Labels class fix some unresolved functions --- include/functions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 1d52bc62e..58989d131 100644 --- a/include/functions.php +++ b/include/functions.php @@ -134,7 +134,6 @@ require_once 'db-prefs.php'; require_once 'version.php'; - require_once 'labels.php'; require_once 'controls.php'; define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)'); @@ -1169,7 +1168,7 @@ while ($line = db_fetch_assoc($result)) { - $id = label_to_feed_id($line["id"]); + $id = Labels::label_to_feed_id($line["id"]); $cv = array("id" => $id, "counter" => (int) $line["unread"], -- cgit v1.2.3-54-g00ecf