mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-06 13:31:00 +01:00
when removing favicon, reset its auto-refresh timer
This commit is contained in:
parent
d63329baa1
commit
c8cc845d5b
@ -449,7 +449,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
if ($row = $sth->fetch()) {
|
if ($row = $sth->fetch()) {
|
||||||
@unlink(ICONS_DIR . "/$feed_id.ico");
|
@unlink(ICONS_DIR . "/$feed_id.ico");
|
||||||
|
|
||||||
$sth = $this->pdo->prepare("UPDATE ttrss_feeds SET favicon_avg_color = NULL
|
$sth = $this->pdo->prepare("UPDATE ttrss_feeds SET favicon_avg_color = NULL, favicon_last_checked = '1970-01-01'
|
||||||
where id = ?");
|
where id = ?");
|
||||||
$sth->execute([$feed_id]);
|
$sth->execute([$feed_id]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user