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
1 changed files with 4 additions and 0 deletions

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