friendica-5875 Uncaught Error: Call to undefined method Friendica\App::getCurlCode() fixed
This commit is contained in:
parent
b833930702
commit
e6b1f9ef09
|
@ -303,7 +303,7 @@ class HTTPSignature
|
||||||
$headers[] = 'Content-Type: application/activity+json';
|
$headers[] = 'Content-Type: application/activity+json';
|
||||||
|
|
||||||
Network::post($target, $content, $headers);
|
Network::post($target, $content, $headers);
|
||||||
$return_code = BaseObject::getApp()->getCurlCode();
|
$return_code = Network::getCurl()->getCode();
|
||||||
|
|
||||||
logger('Transmit to ' . $target . ' returned ' . $return_code);
|
logger('Transmit to ' . $target . ' returned ' . $return_code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue