summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-05 05:04:31 +0100
committerAndrew Dolgov <[email protected]>2005-09-05 05:04:31 +0100
commitf4c10d4408c8acad944756fb843703f51a2082a1 (patch)
tree4ada33fa86033d56a716372d24d33e64d57fdf61 /functions.php
parent6cc36202c70d741478abf2b3a243bc7e33c92aab (diff)
added support for marking posts
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index ea2c2235d..d572ee780 100644
--- a/functions.php
+++ b/functions.php
@@ -6,6 +6,7 @@
function purge_old_posts() {
if (PURGE_OLD_DAYS > 0) {
$result = pg_query("DELETE FROM ttrss_entries WHERE
+ marked = false AND
date_entered < NOW() - INTERVAL '".PURGE_OLD_DAYS." days'");
}
}