]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Protocol.php
Removed spaces
[friendica.git] / src / Core / Protocol.php
index 860ac26be68beff9ecfe1d9b01d9b2b5105574e0..b0bf72aeb37590e508b00c60a2203d2040f497db 100644 (file)
@@ -122,7 +122,7 @@ class Protocol
                if (preg_match('=https?://(.*)/user/(.*)=ism', $profile_url, $matches)) {
                        $statusnet_host = $matches[1];
                        $statusnet_user = $matches[2];
-                       $UserData = DI::httpRequest()->fetch('http://' . $statusnet_host . '/api/users/show.json?user_id=' . $statusnet_user);
+                       $UserData = DI::httpClient()->fetch('http://' . $statusnet_host . '/api/users/show.json?user_id=' . $statusnet_user);
                        $user = json_decode($UserData);
                        if ($user) {
                                $matches[2] = $user->screen_name;