X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapinotifications.php;h=411971af16ab536f1016b5af9a7128931c342bf0;hb=b4e649fe906a793cd5e62d6390065ea5d41c40db;hp=9e3cc15c424366bd05968c0065a0c0477523dd1f;hpb=d57bc1b8e99a432d7f6425d0c8836a3c4928581a;p=quix0rs-gnu-social.git diff --git a/actions/twitapinotifications.php b/actions/twitapinotifications.php index 9e3cc15c42..411971af16 100644 --- a/actions/twitapinotifications.php +++ b/actions/twitapinotifications.php @@ -22,18 +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