From e6b1f9ef090c77ab76a9ced1f0126a1f3e8aefaf Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 10 Oct 2018 18:10:38 +0200 Subject: [PATCH] friendica-5875 Uncaught Error: Call to undefined method Friendica\App::getCurlCode() fixed --- src/Util/HTTPSignature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }