mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Removed duplicate
This commit is contained in:
		@@ -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
 | 
			
		||||
	 * 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user