]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
finish refactoring to Module\Contact
[friendica.git] / mod / admin.php
index bd5e9ecea384ab7be736b5bfe85df2744972cf39..372210c403efd6b448a78cebfcca60e7c33c178b 100644 (file)
@@ -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();
 }