Removed duplicate

This commit is contained in:
Pierre HUBERT
2018-07-09 16:04:28 +02:00
parent f526893786
commit a90cde6268
2 changed files with 1 additions and 12 deletions

View File

@ -336,17 +336,6 @@ class GroupsComponent {
return $this->deleteMembershipWithStatus($userID, $groupID, GroupMember::PENDING);
}
/**
* Cancel a membership request
*
* @param int $userID The ID of the target user
* @param int $groupID The ID of the related group
* @return bool TRUE for a success / FALSE else
*/
public function cancelRequest(int $userID, int $groupID) : bool {
return $this->deleteMembershipWithStatus($userID, $groupID, GroupMember::PENDING);
}
/**
* Get the membership level of a user to a group
*