1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

when purging inactive feeds, set last_updated to NOW()

This commit is contained in:
Andrew Dolgov 2013-03-04 21:49:14 +04:00
parent b7c8622ec7
commit f161869541

View File

@ -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;
}