X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitrends.php;h=a39769a34e60024fb1744d2ecc2cba109d2bf678;hb=c6f58d432cb079527822de5f021742b6f7962b69;hp=5b74636c697c4460ba893403c498972f7f6dda64;hpb=884b26229d74cc5b386406e3e9125629b4e3ecd0;p=quix0rs-gnu-social.git diff --git a/actions/apitrends.php b/actions/apitrends.php index 5b74636c69..a39769a34e 100644 --- a/actions/apitrends.php +++ b/actions/apitrends.php @@ -31,8 +31,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -require_once INSTALLDIR.'/lib/apiprivateauth.php'; - /** * Returns the top ten queries that are currently trending * @@ -44,10 +42,8 @@ require_once INSTALLDIR.'/lib/apiprivateauth.php'; * * @see ApiAction */ - class ApiTrendsAction extends ApiPrivateAuthAction { - var $callback; /** @@ -70,7 +66,6 @@ class ApiTrendsAction extends ApiPrivateAuthAction * * @return void */ - function handle($args) { parent::handle($args); @@ -84,7 +79,7 @@ class ApiTrendsAction extends ApiPrivateAuthAction */ function showTrends() { + // TRANS: Server error for unfinished API method showTrends. $this->serverError(_('API method under construction.'), 501); } - -} \ No newline at end of file +}