X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapinotifications.php;h=411971af16ab536f1016b5af9a7128931c342bf0;hb=da532bae9131b6dec8f5c0d67ce77c4ad1736f7d;hp=45a33427bc389e1d95c735e7bcf913951160fb38;hpb=3df358a9e98328de4d865b91a5900f834a1f195a;p=quix0rs-gnu-social.git diff --git a/actions/twitapinotifications.php b/actions/twitapinotifications.php index 45a33427bc..411971af16 100644 --- a/actions/twitapinotifications.php +++ b/actions/twitapinotifications.php @@ -22,19 +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); + $this->serverError(_('API method under construction.'), $code=501); + } + + function leave($args, $apidata) + { + parent::handle($args); + $this->serverError(_('API method under construction.'), $code=501); + } - function follow($args, $apidata) { - parent::handle($args); - common_server_error("API method under construction.", $code=501); - exit(); - } - - function leave($args, $apidata) { - parent::handle($args); - common_server_error("API method under construction.", $code=501); - exit(); - } - } \ No newline at end of file