Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user