summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
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