]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apigroupshow.php
OAuth related syntax fixes, nothing big
[quix0rs-gnu-social.git] / actions / apigroupshow.php
index 471aa141f9c1684cfa814eddcfbe6e45a51b0e8c..e99777e32c5326113d11a562570c28733769cb13 100644 (file)
@@ -68,7 +68,7 @@ class ApiGroupShowAction extends ApiPrivateAuthAction
         $this->group = $this->getTargetGroup($this->arg('id'));
 
         if (empty($this->group)) {
-            $alias = Group_alias::staticGet(
+            $alias = Group_alias::getKV(
                 'alias',
                 common_canonical_nickname($this->arg('id'))
             );
@@ -110,7 +110,7 @@ class ApiGroupShowAction extends ApiPrivateAuthAction
             $this->showSingleJsonGroup($this->group);
             break;
         default:
-            // TRANS: Client error displayed trying to execute an unknown API method showing a group.
+            // TRANS: Client error displayed when coming across a non-supported API method.
             $this->clientError(_('API method not found.'), 404, $this->format);
             break;
         }