summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-16 10:47:22 +0100
committerAndrew Dolgov <[email protected]>2005-11-16 10:47:22 +0100
commit140aae812a7d83af8125bfbe13c75e20eee1fdcb (patch)
tree75b6a65075da37a59de21e9d53f7cd8bdc84ebfc /functions.php
parent12b84c6d0a197ea58aec77735a7525a6d22e3ed9 (diff)
ugly hack to selectively disable feed purging
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
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