diff options
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); - } -} |