Skip to content

Commit

Permalink
🐛 FIX: creation of groups
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
  • Loading branch information
violoncelloCH committed May 22, 2019
1 parent 135db50 commit 06627eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected function storeUser($uid, $group) {
]);
$query->execute();

if($groupDomain && $group) {
if($this->groupDomain && $group) {
$createduser = \OC::$server->getUserManager()->get($uid);
\OC::$server->getGroupManager()->createGroup($group)->addUser($createduser);
}
Expand Down

0 comments on commit 06627eb

Please sign in to comment.