]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apigroupadmins.php
Opps, PEAR sucks. Need to call find() before fetch() ... :-(
[quix0rs-gnu-social.git] / actions / apigroupadmins.php
index cba9c08ab38920e4ac356831859ba4ae20ede324..3754a831d4efe587c8d3f2a7a1557e807166c0ce 100644 (file)
@@ -20,7 +20,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  * @category  API
- * @package   GNUSocial
+ * @package   GNUsocial
  * @author    Craig Andrews <candrews@integralblue.com>
  * @author    Evan Prodromou <evan@status.net>
  * @author    Jeffery To <jeffery.to@gmail.com>
@@ -40,7 +40,7 @@ if (!defined('GNUSOCIAL')) {
  * List 20 newest admins of the group specified by name or ID.
  *
  * @category API
- * @package  GNUSocial
+ * @package  GNUsocial
  * @author   Craig Andrews <candrews@integralblue.com>
  * @author   Evan Prodromou <evan@status.net>
  * @author   Jeffery To <jeffery.to@gmail.com>
@@ -61,7 +61,7 @@ class ApiGroupAdminsAction extends ApiPrivateAuthAction
      *
      * @return boolean success flag
      */
-    protected function prepare($args)
+    protected function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -139,7 +139,7 @@ class ApiGroupAdminsAction extends ApiPrivateAuthAction
      *
      * @return boolean true
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }