X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapinotifications.php;h=411971af16ab536f1016b5af9a7128931c342bf0;hb=b4e649fe906a793cd5e62d6390065ea5d41c40db;hp=8d93309a25a7149db9d18dcf19dda3451d5f8fa1;hpb=6beddfdbb926aaa5af42e68ff459f11e0e5f6b5f;p=quix0rs-gnu-social.git diff --git a/actions/twitapinotifications.php b/actions/twitapinotifications.php index 8d93309a25..411971af16 100644 --- a/actions/twitapinotifications.php +++ b/actions/twitapinotifications.php @@ -22,16 +22,19 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/twitterapi.php'); # This naming convention looks real sick -class TwitapinotificationsAction extends TwitterapiAction { +class TwitapinotificationsAction extends TwitterapiAction +{ - function follow($args, $apidata) { - parent::handle($args); - common_server_error(_('API method under construction.'), $code=501); - } + function follow($args, $apidata) + { + parent::handle($args); + $this->serverError(_('API method under construction.'), $code=501); + } - function leave($args, $apidata) { - parent::handle($args); - common_server_error(_('API method under construction.'), $code=501); - } + function leave($args, $apidata) + { + parent::handle($args); + $this->serverError(_('API method under construction.'), $code=501); + } } \ No newline at end of file