From: Andrew Dolgov Date: Sat, 17 Jan 2009 14:06:32 +0000 (+0100) Subject: ccache_update: block labels X-Git-Tag: 1.3.0~122 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c98e43db6f3300e5c1e27c1ec1fd59712d434277;p=tt-rss.git ccache_update: block labels --- diff --git a/functions.php b/functions.php index f3b2b150..ce181344 100644 --- a/functions.php +++ b/functions.php @@ -5974,6 +5974,12 @@ function ccache_update($link, $feed_id, $owner_uid, $is_cat = false, $update_pcat = true) { + /* Labels are no currently supported */ + + if ($feed_id < 0) { + return -1; + } + $prev_unread = ccache_find($link, $feed_id, $owner_uid, $is_cat, true); if (!$is_cat) {