]> git.mxchange.org Git - friendica.git/blobdiff - mod/redir.php
More replaced "q" calls
[friendica.git] / mod / redir.php
index bef67300f52ff2c420811a6b811996bed1314897..a158f31798cdf01313268c616e608b506ead8e05 100644 (file)
@@ -142,7 +142,7 @@ function redir_magic($a, $cid, $url)
        }
 
        // Test for magic auth on the target system
-       $serverret = DI::httpRequest()->get($basepath . '/magic');
+       $serverret = DI::httpClient()->get($basepath . '/magic');
        if ($serverret->isSuccess()) {
                $separator = strpos($target_url, '?') ? '&' : '?';
                $target_url .= $separator . 'zrl=' . urlencode($visitor) . '&addr=' . urlencode($contact_url);