summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-05-17 22:58:08 +0400
committerAndrew Dolgov <[email protected]>2012-05-17 22:58:08 +0400
commit1bd11fdf9571a9129008af8ae575c5403a393d6a (patch)
treec1cfc09b2ed087793e69f3e4d5f87f8d63602bf9 /include/rssfuncs.php
parenteb38af4ee441e800a2d326ef8c2ac7d203ab81ec (diff)
Revert "get favicon from icon atom feeds & search for icons not only in html head (closes #457)"
This reverts commit 882311d9ad0092127ccaecd700cb659cebb89aa8.
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 1cb8c677c..84a24e2f0 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -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]") {