]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapinotifications.php
Better exception handling in index
[quix0rs-gnu-social.git] / actions / twitapinotifications.php
index a19d652c3d71d7146a58e930c4c450543bdd995f..411971af16ab536f1016b5af9a7128931c342bf0 100644 (file)
@@ -28,13 +28,13 @@ class TwitapinotificationsAction extends TwitterapiAction
     function follow($args, $apidata)
     {
         parent::handle($args);
-        common_server_error(_('API method under construction.'), $code=501);
+        $this->serverError(_('API method under construction.'), $code=501);
     }
 
     function leave($args, $apidata)
     {
         parent::handle($args);
-        common_server_error(_('API method under construction.'), $code=501);
+        $this->serverError(_('API method under construction.'), $code=501);
     }
 
 }
\ No newline at end of file