]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
when purging inactive feeds, set last_updated to NOW()
[tt-rss.git] / 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;
                }