From 140aae812a7d83af8125bfbe13c75e20eee1fdcb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 Nov 2005 10:47:22 +0100 Subject: ugly hack to selectively disable feed purging --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 4ab9ac7df..7d603e9cb 100644 --- a/functions.php +++ b/functions.php @@ -14,7 +14,7 @@ if ($purge_interval == 0) $purge_interval = PURGE_OLD_DAYS; - if ($purge_interval != 0) { + if ($purge_interval > 0) { if (DB_TYPE == "pgsql") { db_query($link, "DELETE FROM ttrss_entries WHERE -- cgit v1.2.3-54-g00ecf