summaryrefslogtreecommitdiff
path: root/actions/twitapinotifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/twitapinotifications.php')
-rw-r--r--actions/twitapinotifications.php21
1 files changed, 12 insertions, 9 deletions
diff --git a/actions/twitapinotifications.php b/actions/twitapinotifications.php
index 8d93309a2..411971af1 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