Merge pull request #5876 from nupplaphil/friendica-5875
Uncaught Error for getCurlCode()
This commit is contained in:
commit
904fee3bed
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class HTTPSignature
|
|||
$headers[] = 'Content-Type: application/activity+json';
|
||||
|
||||
Network::post($target, $content, $headers);
|
||||
$return_code = BaseObject::getApp()->getCurlCode();
|
||||
$return_code = Network::getCurl()->getCode();
|
||||
|
||||
logger('Transmit to ' . $target . ' returned ' . $return_code);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue