diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2009-01-17 15:06:32 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2009-01-17 15:06:32 +0100 |
| commit | c98e43db6f3300e5c1e27c1ec1fd59712d434277 (patch) | |
| tree | f9fd5bf23c9855ddc20a183d7a8f71a0f0b161a1 | |
| parent | 5f4f7adfa0d02dbfb18ec49e71b5d6a9c42d765e (diff) | |
ccache_update: block labels
| -rw-r--r-- | functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |