]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apigroupleave.php
Added in credits.
[quix0rs-gnu-social.git] / actions / apigroupleave.php
index 4e3192ac0849b5297547ebdcd13bdf8922bf663a..0d4bb9e4d357b9a6c1b913a9978a0a17a76fccc7 100644 (file)
@@ -21,6 +21,9 @@
  *
  * @category  API
  * @package   StatusNet
+ * @author    Craig Andrews <candrews@integralblue.com>
+ * @author    Evan Prodromou <evan@status.net>
+ * @author    Jeffery To <jeffery.to@gmail.com>
  * @author    Zach Copley <zach@status.net>
  * @copyright 2009 StatusNet, Inc.
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
@@ -38,6 +41,9 @@ require_once INSTALLDIR . '/lib/apiauth.php';
  *
  * @category API
  * @package  StatusNet
+ * @author   Craig Andrews <candrews@integralblue.com>
+ * @author   Evan Prodromou <evan@status.net>
+ * @author   Jeffery To <jeffery.to@gmail.com>
  * @author   Zach Copley <zach@status.net>
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
@@ -45,7 +51,6 @@ require_once INSTALLDIR . '/lib/apiauth.php';
 
 class ApiGroupLeaveAction extends ApiAuthAction
 {
-    var $user    = null;
     var $group   = null;
 
     /**
@@ -117,13 +122,13 @@ class ApiGroupLeaveAction extends ApiAuthAction
             $this->serverError(
                 sprintf(
                     _('Could not remove user %s to group %s.'),
-                    $this->user->nickname, 
+                    $this->user->nickname,
                     $this->$group->nickname
                 )
             );
             return;
         }
-       
+
         switch($this->format) {
         case 'xml':
             $this->show_single_xml_group($this->group);