X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigrouplistall.php;h=2fb3714257f7677258a07390539d807771633888;hb=refs%2Fheads%2Fupstream-changes%2Fgoogle-analytics-removal;hp=d05baa0992d928fdc35e5cb3b58d205d90a408da;hpb=a12474a99d0322123b1c8318dfa609d5d5392c7f;p=quix0rs-gnu-social.git diff --git a/actions/apigrouplistall.php b/actions/apigrouplistall.php index d05baa0992..2fb3714257 100644 --- a/actions/apigrouplistall.php +++ b/actions/apigrouplistall.php @@ -35,8 +35,6 @@ if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR . '/lib/apiprivateauth.php'; - /** * Returns of the lastest 20 groups for the site * @@ -89,7 +87,7 @@ class ApiGroupListAllAction extends ApiPrivateAuthAction $taguribase = TagURI::base(); $id = "tag:$taguribase:Groups"; $link = common_local_url('groups'); - // TRANS: Message is used as a subtitle when listing the lastest 20 groups. %s is a site name. + // TRANS: Message is used as a subtitle when listing the latest 20 groups. %s is a site name. $subtitle = sprintf(_("groups on %s"), $sitename); switch($this->format) { @@ -116,7 +114,7 @@ class ApiGroupListAllAction extends ApiPrivateAuthAction break; default: $this->clientError( - // TRANS: Client error displayed trying to execute an unknown API method listing the latest 20 groups. + // TRANS: Client error displayed when coming across a non-supported API method. _('API method not found.'), 404, $this->format