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