purge_feed: stop when purging is disabled for the feed (2)
This commit is contained in:
parent
2610b6fc8b
commit
01299231d8
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue