]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Magic.php
Random profiles now moved away from "gcontact" as well
[friendica.git] / src / Module / Magic.php
index a025617d8d8c4534304ac762b0955f7907b26efd..95b742bb301b9ec3c7f1621779f4415aede7aaa1 100644 (file)
@@ -100,7 +100,7 @@ class Magic extends BaseModule
                                );
 
                                // Try to get an authentication token from the other instance.
-                               $curlResult = DI::httpRequest()->curl($basepath . '/owa', false, ['headers' => $headers]);
+                               $curlResult = DI::httpRequest()->get($basepath . '/owa', false, ['headers' => $headers]);
 
                                if ($curlResult->isSuccess()) {
                                        $j = json_decode($curlResult->getBody(), true);