got rid of magic groups
This commit is contained in:
parent
0cb06e0e17
commit
cdcf737a3b
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ sub _create {
|
|||
my ($userId);
|
||||
$userId = getNextId("userId");
|
||||
WebGUI::SQL->write("insert into users (userId,dateCreated) values ($userId,".time().")");
|
||||
WebGUI::Grouping::addUsersToGroups([$userId],[2,7[2,7]]);
|
||||
return $userId;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue