]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
finish refactoring to Module\Contact
[friendica.git] / mod / admin.php
index f186f127adbda35d819a5bda267d4dd379999d35..372210c403efd6b448a78cebfcca60e7c33c178b 100644 (file)
@@ -1124,7 +1124,7 @@ function admin_page_site_post(App $a)
                Worker::add(PRIORITY_LOW, 'Directory');
        }
 
-       if ($a->getURLpath() != "") {
+       if ($a->getURLPath() != "") {
                $diaspora_enabled = false;
        }
        if ($ssl_policy != intval(Config::get('system', 'ssl_policy'))) {
@@ -1421,7 +1421,7 @@ function admin_page_site(App $a)
        if (empty(Config::get('config', 'hostname'))) {
                Config::set('config', 'hostname', $a->getHostName());
        }
-       $diaspora_able = ($a->getURLpath() == "");
+       $diaspora_able = ($a->getURLPath() == "");
 
        $optimize_max_tablesize = Config::get('system', 'optimize_max_tablesize', -1);
 
@@ -2567,6 +2567,5 @@ function admin_page_features(App $a)
 function admin_page_server_vital()
 {
        // Fetch the host-meta to check if this really is a vital server
-       $serverret = Network::curl(System::baseUrl() . '/.well-known/host-meta');
-       return $serverret["success"];
+       return Network::curl(System::baseUrl() . '/.well-known/host-meta')->isSuccess();
 }