mirror of
https://github.com/friendica/friendica
synced 2025-05-09 19:44:10 +02:00
Move post_url
move post_url function
This commit is contained in:
parent
2f9642392d
commit
a32ba32ff4
12 changed files with 19 additions and 21 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue