]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/theme.php
@brief is removed completely
[friendica.git] / view / theme / duepuntozero / theme.php
index 5ee2e2bcfb6d29c8e65e9311e389fdf62801e668..77eb38e8a161539c1ea3d452942d315ede480815 100644 (file)
@@ -2,7 +2,6 @@
 
 use Friendica\App;
 use Friendica\Core\Config;
-use Friendica\Core\PConfig;
 use Friendica\Core\Renderer;
 use Friendica\DI;
 
@@ -10,7 +9,7 @@ function duepuntozero_init(App $a) {
 
 Renderer::setActiveTemplateEngine('smarty3');
 
-    $colorset = PConfig::get( local_user(), 'duepuntozero','colorset');
+    $colorset = DI::pConfig()->get( local_user(), 'duepuntozero','colorset');
     if (!$colorset)
        $colorset = Config::get('duepuntozero', 'colorset');          // user setting have priority, then node settings
     if ($colorset) {