1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-24 19:07:11 +00:00

ccache_update: block labels

This commit is contained in:
Andrew Dolgov
2009-01-17 15:06:32 +01:00
parent 5f4f7adfa0
commit c98e43db6f

View File

@@ -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) {