]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsubhubbub.php
Rename App Methods
[friendica.git] / mod / pubsubhubbub.php
index 8f9478d8aa51d0a322e6299156cca5968b9751b3..5697be8305bdb1c94e6f7a3be99a656bbff2b25f 100644 (file)
@@ -105,7 +105,7 @@ function pubsubhubbub_init(App $a) {
                // Social/StatusNet doesn't honour it (yet)
 
                $body = Network::fetchUrl($hub_callback . "?" . $params);
-               $ret = $a->get_curl_code();
+               $ret = Network::getCurl()->getCode();
 
                // give up if the HTTP return code wasn't a success (2xx)
                if ($ret < 200 || $ret > 299) {