]> git.wh0rd.org Git - tt-rss.git/commitdiff
category counters: remove nonexistant category -3
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:42:32 +0000 (17:42 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:42:32 +0000 (17:42 +0100)
functions.php

index a3fc5d5c9ebc7c041cc5b7f6efd5eea5965a2da0..17102517d1f51a7839aa94e12d893a03e6e5b57b 100644 (file)
 
                print "<counter type=\"category\" id=\"-2\" counter=\"$ctr\"/>";
 
-               $ctr = getCategoryUnread($link, -3);
-
-               print "<counter type=\"category\" id=\"-3\" counter=\"$ctr\"/>";
-
                $age_qpart = getMaxAgeSubquery();
 
                $result = db_query($link, "SELECT cat_id, value AS unread