From 7618101e333c2d3c183031d52d1b3adfa0b3c009 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 26 Jan 2025 17:19:12 +0000 Subject: Reduce use of legacy 'Config::ICONS_DIR'. Also some minor cleanup in 'API#_get_config()'. --- classes/RSSUtils.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'classes/RSSUtils.php') diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index 1c931e7e7..3ede6bf3e 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -1743,7 +1743,10 @@ class RSSUtils { $tmph->run_hooks(PluginHost::HOOK_HOUSE_KEEPING); } - /** migrates favicons from legacy storage in feed-icons/ to cache/feed-icons/using new naming (sans .ico suffix) */ + /** + * migrates favicons from legacy storage in feed-icons/ to cache/feed-icons/using new naming (sans .ico suffix) + * @todo Remove this and Config::ICONS_DIR at some point + */ static function migrate_feed_icons() : void { $old_dir = Config::get(Config::ICONS_DIR); -- cgit v1.2.3-54-g00ecf