mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 18:56:34 +00:00
when purging inactive feeds, set last_updated to NOW()
This commit is contained in:
@@ -179,6 +179,10 @@
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
$articles_removed += purge_feed($link, $line["id"], 0, false);
|
||||
|
||||
db_query($link, "UPDATE ttrss_feeds SET last_updated = NOW() WHERE
|
||||
id = " . $line["id"]);
|
||||
|
||||
++$feeds_purged;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user