From: Andrew Dolgov Date: Mon, 4 Mar 2013 17:49:14 +0000 (+0400) Subject: when purging inactive feeds, set last_updated to NOW() X-Git-Tag: 1.7.1~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f1618695411db1346b41f4072e9b4e484ee2a4da;p=tt-rss.git when purging inactive feeds, set last_updated to NOW() --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 77dd3aae..f1d11297 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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; }