summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-16 14:47:33 +0100
committerAndrew Dolgov <[email protected]>2005-11-16 14:47:33 +0100
commit9e0f3ab123d86275e7e931252bd2a0e5aec8a6ac (patch)
tree5c0687c0a52babbbb199183d182f6caf731ffa4a /functions.php
parent0d43b92104ae4fd0eb236b3b9b2e08b3c9fa5697 (diff)
fix typo in mysql purge query
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 7d603e9cb..4e7f0c3a1 100644
--- a/functions.php
+++ b/functions.php
@@ -22,7 +22,7 @@
date_entered < NOW() - INTERVAL '$purge_interval days'");
} else {
db_query($link, "DELETE FROM ttrss_entries WHERE
- marked = false AND AND feed_id = '$feed_id' AND
+ marked = false AND feed_id = '$feed_id' AND
date_entered < DATE_SUB(NOW(), INTERVAL $purge_interval DAY)");
}
}