]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapinotifications.php
show error on empty gallery
[quix0rs-gnu-social.git] / actions / twitapinotifications.php
index 45a33427bc389e1d95c735e7bcf913951160fb38..8d93309a25a7149db9d18dcf19dda3451d5f8fa1 100644 (file)
@@ -24,17 +24,14 @@ require_once(INSTALLDIR.'/lib/twitterapi.php');
 # This naming convention looks real sick
 class TwitapinotificationsAction extends TwitterapiAction {
 
-
        function follow($args, $apidata) {
                parent::handle($args);
-               common_server_error("API method under construction.", $code=501);
-               exit();
+               common_server_error(_('API method under construction.'), $code=501);
        }
-       
+
        function leave($args, $apidata) {
                parent::handle($args);
-               common_server_error("API method under construction.", $code=501);
-               exit();
+               common_server_error(_('API method under construction.'), $code=501);
        }
-       
+
 }
\ No newline at end of file