From: Andrew Dolgov Date: Thu, 22 Jan 2009 07:11:50 +0000 (+0100) Subject: purge_feed: stop when purging is disabled for the feed (2) X-Git-Tag: git2svn-syncpoint-master~71 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=01299231d896d4cceee2c41ac5fb8ecf1e8429da;p=tt-rss.git purge_feed: stop when purging is disabled for the feed (2) --- diff --git a/functions.php b/functions.php index 8eaab14f..f409ddea 100644 --- a/functions.php +++ b/functions.php @@ -133,7 +133,11 @@ function purge_feed($link, $feed_id, $purge_interval, $debug = false) { if (!$purge_interval) $purge_interval = feed_purge_interval($link, $feed_id); - if ($purge_interval == -1 || !$purge_interval) return; + + if ($purge_interval == -1 || !$purge_interval) { + ccache_update($link, $feed_id, $owner_uid); + return; + } $rows = -1;