diff options
author | wn_ <[email protected]> | 2021-02-22 12:06:27 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2021-02-22 12:06:27 +0000 |
commit | 6fbf7ef368520f8f4d2c07c153d1429b2f4ff5e3 (patch) | |
tree | a967f53dbe185bcf35f967a54fbabe0bb7bf497c /classes/rssutils.php | |
parent | 02a9485966dbbac1ed52ecbfb29fcc15125cba43 (diff) |
Remove check against the old file in 'RSSUtils::check_feed_favicon'.
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-x | classes/rssutils.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index 6785ab3f5..30d08328f 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -1662,15 +1662,6 @@ class RSSUtils { return false; } - $original_contents_md5 = file_exists($icon_file) ? md5_file($icon_file) : null; - if ($original_contents_md5) { - if (md5($contents) == $original_contents_md5) { - Debug::log("favicon content has not changed", Debug::$LOG_VERBOSE); - return $icon_file; - } - Debug::log("favicon content has changed", Debug::$LOG_VERBOSE); - } - // Crude image type matching. // Patterns gleaned from the file(1) source code. if (preg_match('/^\x00\x00\x01\x00/', $contents)) { |