X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapigroupismember.php;h=c9a363582b75b4f8bda6bb6f555c585dd8f155dc;hb=24e05350011eb1b4aa05c7cfa2b9e901bd7f9c2f;hp=8d31c65ddb8883d46bc66e8df4a2c823bbfcdd92;hpb=693fecc44a70e25d5ef0ca784a462aadb487ef1e;p=quix0rs-gnu-social.git diff --git a/actions/apigroupismember.php b/actions/apigroupismember.php index 8d31c65ddb..c9a363582b 100644 --- a/actions/apigroupismember.php +++ b/actions/apigroupismember.php @@ -35,8 +35,6 @@ if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR . '/lib/apibareauth.php'; - /** * Returns whether a user is a member of a specified group. * @@ -111,7 +109,7 @@ class ApiGroupIsMemberAction extends ApiBareAuthAction break; default: $this->clientError( - // TRANS: Client error displayed trying to execute an unknown API method showing group membership. + // TRANS: Client error displayed when coming across a non-supported API method. _('API method not found.'), 400, $this->format