1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:45:54 +00:00

move rgb/hsl functions to their own namespace

This commit is contained in:
Andrew Dolgov
2021-02-16 17:07:23 +03:00
parent bdbbdbb0ed
commit 7fad6ce651
3 changed files with 4 additions and 3 deletions

View File

@@ -322,9 +322,9 @@ class Feeds extends Handler_Protected {
if (!isset($rgba_cache[$feed_id])) {
if ($fav_color && $fav_color != 'fail') {
$rgba_cache[$feed_id] = _color_unpack($fav_color);
$rgba_cache[$feed_id] = \Colors\_color_unpack($fav_color);
} else {
$rgba_cache[$feed_id] = _color_unpack($this->_color_of($line['feed_title']));
$rgba_cache[$feed_id] = \Colors\_color_unpack($this->_color_of($line['feed_title']));
}
}