]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/PortableContact.php
Rename App Methods
[friendica.git] / src / Protocol / PortableContact.php
index 280dbe72c2a2afe151b5c5d47dd8e11a561fc182..a5932e158b69b93cc58b4eae2624b4fdc5c0b57a 100644 (file)
@@ -90,9 +90,9 @@ class PortableContact
 
                logger('load: returns ' . $s, LOGGER_DATA);
 
-               logger('load: return code: ' . $a->get_curl_code(), LOGGER_DEBUG);
+               logger('load: return code: ' . Network::getCurl()->getCode(), LOGGER_DEBUG);
 
-               if (($a->get_curl_code() > 299) || (! $s)) {
+               if ((Network::getCurl()->getCode() > 299) || (! $s)) {
                        return;
                }