db/GroupManager: early return, no functional changes
This commit is contained in:
parent
604952bc97
commit
f7254a47ea
1 changed files with 4 additions and 3 deletions
|
@ -236,11 +236,12 @@ exports.createGroupIfNotExistsFor = function(groupMapper, callback)
|
|||
// hah, the returned group doesn't exist, let's create one
|
||||
createGroupForMapper(callback)
|
||||
})
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
//there is no group for this mapper, let's create a group
|
||||
else {
|
||||
createGroupForMapper(callback)
|
||||
}
|
||||
createGroupForMapper(callback)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue