]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
move label stuff to Labels class
[tt-rss.git] / include / functions.php
index 1d52bc62ebd3303312bc6936c92d0f7c7affb8b8..58989d131b6062a88d2c33fd1c468eb4b966477f 100644 (file)
 
        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/)');
 
                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"],