Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
This commit is contained in:
committed by
Hypolite Petovan
parent
7029012f27
commit
657d08f09f
@@ -1379,7 +1379,7 @@ class Diaspora
|
||||
|
||||
Logger::log("Fetch post from ".$source_url, Logger::DEBUG);
|
||||
|
||||
$envelope = DI::httpRequest()->fetchUrl($source_url);
|
||||
$envelope = DI::httpRequest()->fetch($source_url);
|
||||
if ($envelope) {
|
||||
Logger::log("Envelope was fetched.", Logger::DEBUG);
|
||||
$x = self::verifyMagicEnvelope($envelope);
|
||||
|
||||
@@ -102,7 +102,7 @@ class PortableContact
|
||||
|
||||
Logger::log('load: ' . $url, Logger::DEBUG);
|
||||
|
||||
$fetchresult = DI::httpRequest()->fetchUrlFull($url);
|
||||
$fetchresult = DI::httpRequest()->fetchFull($url);
|
||||
$s = $fetchresult->getBody();
|
||||
|
||||
Logger::log('load: returns ' . $s, Logger::DATA);
|
||||
|
||||
Reference in New Issue
Block a user