]> git.wh0rd.org Git - tt-rss.git/commitdiff
when purging inactive feeds, set last_updated to NOW()
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 4 Mar 2013 17:49:14 +0000 (21:49 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 4 Mar 2013 17:49:14 +0000 (21:49 +0400)
include/rssfuncs.php

index 77dd3aae2310ae6f3eb2dcd2506660045734b3f8..f1d1129798906663d8b615c6e43e1a117d3b4b60 100644 (file)
 
                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;
                }