Can send registration request.

This commit is contained in:
Pierre HUBERT
2018-07-06 19:04:22 +02:00
parent cd8fc40810
commit 7a4dd8ea9f
2 changed files with 39 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class GroupsComponent {
* @param GroupMember $member Information about the member to insert
* @return bool TRUE for a success / FALSE else
*/
private function insertMember(GroupMember $member) : bool {
public function insertMember(GroupMember $member) : bool {
return db()->addLine(self::GROUPS_MEMBERS_TABLE, array(
"groups_id" => $member->get_group_id(),
"user_id" => $member->get_userID(),