]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Theme.php
Remove duplicate profile_uid key in App->profile array
[friendica.git] / src / Core / Theme.php
index 7339157af5261a16ea97827c468cedc4e483d98e..76149b7589acae9fc829a2f984b41bb550d8e507 100644 (file)
@@ -36,7 +36,7 @@ class Theme
 
        public static function setAllowedList(array $allowed_themes)
        {
-               Config::set('system', 'allowed_themes', implode(',', array_unique($allowed_themes)));
+               DI::config()->set('system', 'allowed_themes', implode(',', array_unique($allowed_themes)));
        }
 
        /**