mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-08 06:21:00 +01:00
fix a few more warnings
This commit is contained in:
parent
10392ecc28
commit
ce489a724b
@ -591,12 +591,12 @@ class RSSUtils {
|
|||||||
* the icon avgcolor again (unless the icon got updated) */
|
* the icon avgcolor again (unless the icon got updated) */
|
||||||
|
|
||||||
$favicon_file = ICONS_DIR . "/$feed.ico";
|
$favicon_file = ICONS_DIR . "/$feed.ico";
|
||||||
$favicon_modified = @filemtime($favicon_file);
|
$favicon_modified = file_exists($favicon_file) ? filemtime($favicon_file) : -1;
|
||||||
|
|
||||||
Debug::log("checking favicon...", Debug::$LOG_VERBOSE);
|
Debug::log("checking favicon...", Debug::$LOG_VERBOSE);
|
||||||
|
|
||||||
self::check_feed_favicon($site_url, $feed);
|
self::check_feed_favicon($site_url, $feed);
|
||||||
$favicon_modified_new = @filemtime($favicon_file);
|
$favicon_modified_new = file_exists($favicon_file) ? filemtime($favicon_file) : -1;
|
||||||
|
|
||||||
if ($favicon_modified_new > $favicon_modified)
|
if ($favicon_modified_new > $favicon_modified)
|
||||||
$favicon_avg_color = '';
|
$favicon_avg_color = '';
|
||||||
|
|||||||
@ -69,7 +69,6 @@ class Af_Unburn extends Plugin {
|
|||||||
|
|
||||||
$real_url = preg_replace("/\?$/", "", $real_url);
|
$real_url = preg_replace("/\?$/", "", $real_url);
|
||||||
|
|
||||||
$article["plugin_data"] = "unburn,$owner_uid:" . $article["plugin_data"];
|
|
||||||
$article["link"] = $real_url;
|
$article["link"] = $real_url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user