]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
Merge pull request #4036 from MrPetovan/task/3878-move-objects-to-model
[friendica.git] / mod / home.php
index 3490c4faea52dad7712e933d0d484aa05e3ba17f..985c408b5c098c664e700b6537acaf22b676f11c 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\Config;
 use Friendica\Core\System;
 
 if(! function_exists('home_init')) {
@@ -13,8 +14,8 @@ function home_init(App $a) {
                goaway(System::baseUrl()."/network");
        }
 
-       if (strlen(get_config('system','singleuser'))) {
-               goaway(System::baseUrl()."/profile/" . get_config('system','singleuser'));
+       if (strlen(Config::get('system','singleuser'))) {
+               goaway(System::baseUrl()."/profile/" . Config::get('system','singleuser'));
        }
 
 }}