]> git.mxchange.org Git - friendica.git/commitdiff
Fix old function call
authorAdam Magness <adam.magness@gmail.com>
Sun, 28 Jan 2018 14:02:19 +0000 (09:02 -0500)
committerAdam Magness <adam.magness@gmail.com>
Sun, 28 Jan 2018 14:02:19 +0000 (09:02 -0500)
Fix missed fetch_url() call

src/Protocol/PortableContact.php

index f2def21ec1ee2c11c8aca503ec441d12a1eb610e..fb9a725f082b7008de6565b06acf5d317dcbe66d 100644 (file)
@@ -1327,7 +1327,7 @@ class PortableContact
                }
 
                // Discover Friendica, Hubzilla and Diaspora servers
-               $serverdata = fetch_url("http://the-federation.info/pods.json");
+               $serverdata = Network::fetchUrl("http://the-federation.info/pods.json");
 
                if ($serverdata) {
                        $servers = json_decode($serverdata);