diff --git a/functions.php b/functions.php index 174a19e8d..259aaf556 100644 --- a/functions.php +++ b/functions.php @@ -701,14 +701,12 @@ $site_url = $rss->channel["link"]; } - if (get_pref($link, 'ENABLE_FEED_ICONS', $owner_uid, false)) { - if (defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']) { - _debug("update_rss_feed: checking favicon..."); - } - - check_feed_favicon($site_url, $feed, $link); + if (defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']) { + _debug("update_rss_feed: checking favicon..."); } + check_feed_favicon($site_url, $feed, $link); + if (!$registered_title || $registered_title == "[Unknown]") { if ($use_simplepie) { @@ -1681,10 +1679,7 @@ print $color_str; */ print "
  • "; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "$feed_icon"; - } - + print "$feed_icon"; print "$feed"; if ($unread != 0) { diff --git a/mobile/classic/functions.php b/mobile/classic/functions.php index c7acba79e..bd61bbfd2 100644 --- a/mobile/classic/functions.php +++ b/mobile/classic/functions.php @@ -296,10 +296,7 @@ $feed = "$feed_title"; print "
  • "; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "$feed_icon"; - } - + print "$feed_icon"; print "$feed "; if ($unread != 0) { diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index dc3553d10..b10679776 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1295,9 +1295,7 @@ print "  "; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print " "; - } + print " "; print "".__('Title').""; @@ -1354,9 +1352,7 @@ print "  "; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print " "; - } + print " "; print "".__('Title').""; @@ -1389,9 +1385,7 @@ $onclick = "onclick='editFeed($feed_id)' title='".__('Click to edit')."'"; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "$feed_icon"; - } + print "$feed_icon"; if ($last_error) { $edit_title = "$edit_title"; diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index a55d78f9f..5105f3573 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -14,7 +14,7 @@ $subop = $_REQUEST["subop"]; $prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS", - "ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS"); + "ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS", "ENABLE_FEED_ICONS"); $profile_blacklist = array("ALLOW_DUPLICATE_POSTS", "PURGE_OLD_DAYS", "PURGE_UNREAD_ARTICLES", "DIGEST_ENABLE", "DIGEST_CATCHUP",