From: Andrew Dolgov Date: Wed, 16 Nov 2005 13:47:33 +0000 (+0100) Subject: fix typo in mysql purge query X-Git-Tag: schema_feature_freeze_for_1.1~290 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e0f3ab123d86275e7e931252bd2a0e5aec8a6ac;p=tt-rss.git fix typo in mysql purge query --- 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)"); } }