when purging inactive feeds, set last_updated to NOW()
This commit is contained in:
parent
b7c8622ec7
commit
f161869541
|
@ -179,6 +179,10 @@
|
||||||
|
|
||||||
while ($line = db_fetch_assoc($result)) {
|
while ($line = db_fetch_assoc($result)) {
|
||||||
$articles_removed += purge_feed($link, $line["id"], 0, false);
|
$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;
|
++$feeds_purged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue