From f1618695411db1346b41f4072e9b4e484ee2a4da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Mar 2013 21:49:14 +0400 Subject: [PATCH] when purging inactive feeds, set last_updated to NOW() --- include/rssfuncs.php | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.5