summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-04 15:57:40 +0300
committerAndrew Dolgov <[email protected]>2017-05-04 15:57:40 +0300
commit7c9b5a3fe40a641af1cb6003b03b2352576a0c4b (patch)
treeaee154f7437c945c18074a2a158a65845ef115f2 /include/functions.php
parentc2f0f24e4c4577944b563f3c0af92a8ed89b8e61 (diff)
move label stuff to Labels class
fix some unresolved functions
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
1 files changed, 1 insertions, 2 deletions
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"],