1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 20:05:55 +00:00

Revert "get favicon from icon atom feeds & search for icons not only in html head (closes #457)"

This reverts commit 882311d9ad.
This commit is contained in:
Andrew Dolgov
2012-05-17 22:58:08 +04:00
parent eb38af4ee4
commit 1bd11fdf95
2 changed files with 55 additions and 72 deletions

View File

@@ -441,14 +441,7 @@
_debug("update_rss_feed: checking favicon...");
}
if (!file_exists(ICONS_DIR . "/$feed.ico")) {
if ($use_simplepie) {
$atom_icon = $rss->get_favicon();
} else {
$atom_icon = $rss->channel["icon"];
}
check_feed_favicon($site_url, $feed, $link, $atom_icon);
}
check_feed_favicon($site_url, $feed, $link);
if (!$registered_title || $registered_title == "[Unknown]") {