]> git.mxchange.org Git - friendica.git/commitdiff
friendica-5875 Uncaught Error: Call to undefined method Friendica\App::getCurlCode...
authorPhilipp Holzer <admin@philipp.info>
Wed, 10 Oct 2018 16:10:38 +0000 (18:10 +0200)
committerPhilipp Holzer <admin@philipp.info>
Wed, 10 Oct 2018 16:10:38 +0000 (18:10 +0200)
src/Util/HTTPSignature.php

index 494d6e0e65a2761692f7f2bbc677fbb6db29942b..247e554f00d83868b712d09dae4f7c40c1497d8a 100644 (file)
@@ -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);
        }