mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 17:01:28 +00:00
added support for marking posts
This commit is contained in:
@@ -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'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user