mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 06:06:13 +02:00
db/GroupManager: early return, no functional changes
This commit is contained in:
parent
604952bc97
commit
f7254a47ea
@ -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…
x
Reference in New Issue
Block a user