]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineretweetedbyme.php
FormAction wants getInstructions to be protected
[quix0rs-gnu-social.git] / actions / apitimelineretweetedbyme.php
index 564e98619a8321f1f12f56de57786aa45e09a3bb..01f3fe378b17bc948aadbaf587fa0774187e60e6 100644 (file)
@@ -31,9 +31,6 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-require_once INSTALLDIR . '/lib/apiauth.php';
-require_once INSTALLDIR . '/lib/mediafile.php';
-
 /**
  * Show authenticating user's most recent repeats
  *
@@ -43,7 +40,6 @@ require_once INSTALLDIR . '/lib/mediafile.php';
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  */
-
 class ApiTimelineRetweetedByMeAction extends ApiAuthAction
 {
     const DEFAULTCOUNT = 20;
@@ -64,12 +60,12 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction
      * @return boolean success flag
      *
      */
-
     function prepare($args)
     {
         parent::prepare($args);
 
-        $this->serverError('Unimplemented', 503);
+        // TRANS: Server error displayed calling unimplemented API method for 'retweeted by me'.
+        $this->serverError(_('Unimplemented.'), 503);
 
         return false;
     }
@@ -81,7 +77,6 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction
      *
      * @return boolean is read only action?
      */
-
     function isReadOnly($args)
     {
         return true;