From 9e0f3ab123d86275e7e931252bd2a0e5aec8a6ac Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 Nov 2005 14:47:33 +0100 Subject: [PATCH] fix typo in mysql purge query --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7d603e9c..4e7f0c3a 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)"); } } -- 2.39.5