Rename "HTTPRequest::curl()" to HTTPRequest::get()
This commit is contained in:
committed by
Hypolite Petovan
parent
e5649d6dbf
commit
7029012f27
@@ -737,7 +737,7 @@ class Profile
|
||||
$magic_path = $basepath . '/magic' . '?owa=1&dest=' . $dest . '&' . $addr_request;
|
||||
|
||||
// We have to check if the remote server does understand /magic without invoking something
|
||||
$serverret = DI::httpRequest()->curl($basepath . '/magic');
|
||||
$serverret = DI::httpRequest()->get($basepath . '/magic');
|
||||
if ($serverret->isSuccess()) {
|
||||
Logger::log('Doing magic auth for visitor ' . $my_url . ' to ' . $magic_path, Logger::DEBUG);
|
||||
System::externalRedirect($magic_path);
|
||||
|
||||
Reference in New Issue
Block a user