diff options
author | Andrew Dolgov <[email protected]> | 2005-11-16 14:47:33 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-16 14:47:33 +0100 |
commit | 9e0f3ab123d86275e7e931252bd2a0e5aec8a6ac (patch) | |
tree | 5c0687c0a52babbbb199183d182f6caf731ffa4a | |
parent | 0d43b92104ae4fd0eb236b3b9b2e08b3c9fa5697 (diff) |
fix typo in mysql purge query
-rw-r--r-- | functions.php | 2 |
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)"); } } |