X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FSalmon.php;h=f30488ce140eeef304b7dd99eb8258707c11c014;hb=3bccaccede0c39b451e23bfdcdbdcadfd5368f53;hp=f49225021e9a11522d4234dde253af54168d55ac;hpb=a32ba32ff468284641c55c4a08f8b6d949b33c0c;p=friendica.git diff --git a/src/Protocol/Salmon.php b/src/Protocol/Salmon.php index f49225021e..f30488ce14 100644 --- a/src/Protocol/Salmon.php +++ b/src/Protocol/Salmon.php @@ -51,7 +51,7 @@ class Salmon $ret[$x] = substr($ret[$x], 5); } } elseif (normalise_link($ret[$x]) == 'http://') { - $ret[$x] = Network::fetchURL($ret[$x]); + $ret[$x] = Network::fetchUrl($ret[$x]); } } } @@ -133,7 +133,7 @@ class Salmon $salmon = XML::fromArray($xmldata, $xml, false, $namespaces); // slap them - Network::postURL($url, $salmon, [ + Network::post($url, $salmon, [ 'Content-type: application/magic-envelope+xml', 'Content-length: ' . strlen($salmon) ]); @@ -159,7 +159,7 @@ class Salmon $salmon = XML::fromArray($xmldata, $xml, false, $namespaces); // slap them - Network::postURL($url, $salmon, [ + Network::post($url, $salmon, [ 'Content-type: application/magic-envelope+xml', 'Content-length: ' . strlen($salmon) ]); @@ -182,7 +182,7 @@ class Salmon $salmon = XML::fromArray($xmldata, $xml, false, $namespaces); // slap them - Network::postURL($url, $salmon, [ + Network::post($url, $salmon, [ 'Content-type: application/magic-envelope+xml', 'Content-length: ' . strlen($salmon)]); $return_code = $a->get_curl_code();