From: Philipp Holzer <admin@philipp.info>
Date: Wed, 10 Oct 2018 16:10:38 +0000 (+0200)
Subject: friendica-5875 Uncaught Error: Call to undefined method Friendica\App::getCurlCode... 
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e6b1f9ef090c77ab76a9ced1f0126a1f3e8aefaf;p=friendica.git

friendica-5875 Uncaught Error: Call to undefined method Friendica\App::getCurlCode() fixed
---

diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php
index 494d6e0e65..247e554f00 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);
 	}