diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index 494d6e0e6..247e554f0 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -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); }