From c98e43db6f3300e5c1e27c1ec1fd59712d434277 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Jan 2009 15:06:32 +0100 Subject: ccache_update: block labels --- functions.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index f3b2b1509..ce1813449 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) { -- cgit v1.2.3