mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
This commit is contained in:
parent
7029012f27
commit
657d08f09f
20 changed files with 32 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue