summaryrefslogtreecommitdiff
path: root/actions/apigroupleave.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-12 16:36:00 -0700
committerZach Copley <zach@status.net>2009-10-12 16:36:00 -0700
commit870b091693531ba9aca20a0b0fa64ec326d72725 (patch)
tree703e9bd9690ce5f2787b175f50219249c6c594af /actions/apigroupleave.php
parent4efbe32f6ae2d0300299b1103294f881a03f929d (diff)
Added in credits.
Diffstat (limited to 'actions/apigroupleave.php')
-rw-r--r--actions/apigroupleave.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/actions/apigroupleave.php b/actions/apigroupleave.php
index 4e3192ac0..0d4bb9e4d 100644
--- a/actions/apigroupleave.php
+++ b/actions/apigroupleave.php
@@ -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);