]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/default.php
Merge pull request #4473 from annando/issue-4228
[friendica.git] / view / theme / frio / php / default.php
index bf141099486298dad9ffd164c976c8adb58ae544..c78fdd265cda6634b36fd014c2d8d7b9ae198538 100644 (file)
@@ -10,6 +10,7 @@
 use Friendica\Core\Config;
 use Friendica\Core\PConfig;
 use Friendica\Core\System;
+use Friendica\Model\Profile;
 
 require_once 'view/theme/frio/php/frio_boot.php';
 
@@ -38,7 +39,7 @@ if (!isset($minimal)) {
        // It makes mobile Chrome UI match Frio's top bar color.
        $uid = $a->profile_uid;
        if (is_null($uid)) {
-               $uid = get_theme_uid();
+               $uid = Profile::getThemeUid();
        }
        $schema = PConfig::get($uid, 'frio', 'schema');
        if (($schema) && ($schema != '---')) {