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

This commit is contained in:
Philipp Holzer 2018-10-10 18:10:38 +02:00
parent b833930702
commit e6b1f9ef09
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View 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);
}