diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-16 21:07:29 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-16 21:07:29 -0400 |
commit | b1e2ca00ce7375ffcbe5e927135c8892036e6bd6 (patch) | |
tree | 07ce453261f6493de7c901cfd8b4f0d9af85556d /app/Api/GroupMember.php | |
parent | 4514bc1d4b4abff23902e46da76e70f13a3647eb (diff) |
Rename Api classes
Diffstat (limited to 'app/Api/GroupMember.php')
-rw-r--r-- | app/Api/GroupMember.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/app/Api/GroupMember.php b/app/Api/GroupMember.php deleted file mode 100644 index 9d2a4796..00000000 --- a/app/Api/GroupMember.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -namespace Kanboard\Api; - -/** - * Group Member API controller - * - * @package api - * @author Frederic Guillot - */ -class GroupMember extends \Kanboard\Core\Base -{ - public function getMemberGroups($user_id) - { - return $this->groupMember->getGroups($user_id); - } - - public function getGroupMembers($group_id) - { - return $this->groupMember->getMembers($group_id); - } - - public function addGroupMember($group_id, $user_id) - { - return $this->groupMember->addUser($group_id, $user_id); - } - - public function removeGroupMember($group_id, $user_id) - { - return $this->groupMember->removeUser($group_id, $user_id); - } - - public function isGroupMember($group_id, $user_id) - { - return $this->groupMember->isMember($group_id, $user_id); - } -} |