]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Move post_url
[friendica.git] / src / Protocol / Diaspora.php
index 14bad8e1d93cb57c52b0371ee2454552e1b150b0..2ad4fadb115e472b92decc97792a205465ecff1f 100644 (file)
@@ -3229,7 +3229,7 @@ class Diaspora
                        if (!intval(Config::get("system", "diaspora_test"))) {
                                $content_type = (($public_batch) ? "application/magic-envelope+xml" : "application/json");
 
-                               post_url($dest_url."/", $envelope, ["Content-Type: ".$content_type]);
+                               Network::postURL($dest_url."/", $envelope, ["Content-Type: ".$content_type]);
                                $return_code = $a->get_curl_code();
                        } else {
                                logger("test_mode");