Centralized membership levels in GroupMember class

This commit is contained in:
Pierre HUBERT
2018-07-05 08:30:46 +02:00
parent a1d078a461
commit d55cca75b2
4 changed files with 15 additions and 22 deletions

View File

@ -13,8 +13,9 @@ class GroupMember extends BaseUniqueObjectFromUser {
const ADMINISTRATOR = 0;
const MODERATOR = 1;
const MEMBER = 2;
const PENDING = 3; //When the group membership has not been approved yet
const VISITOR = 4; //Simple visitor
const INVITED = 3;
const PENDING = 4; //When the group membership has not been approved yet
const VISITOR = 5; //Simple visitor
//Private fields
private $group_id = 1;