purge_feed: stop when purging is disabled for the feed
This commit is contained in:
parent
90ec0c86ca
commit
2610b6fc8b
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@
|
||||||
function purge_feed($link, $feed_id, $purge_interval, $debug = false) {
|
function purge_feed($link, $feed_id, $purge_interval, $debug = false) {
|
||||||
|
|
||||||
if (!$purge_interval) $purge_interval = feed_purge_interval($link, $feed_id);
|
if (!$purge_interval) $purge_interval = feed_purge_interval($link, $feed_id);
|
||||||
|
if ($purge_interval == -1 || !$purge_interval) return;
|
||||||
|
|
||||||
$rows = -1;
|
$rows = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue