mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
db/GroupManager: fix indentation
This is to make easier on the eye the next change.
This commit is contained in:
parent
c85bcf0614
commit
604952bc97
1 changed files with 14 additions and 14 deletions
|
@ -227,20 +227,20 @@ exports.createGroupIfNotExistsFor = function(groupMapper, callback)
|
||||||
|
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
|
|
||||||
// there is a group for this mapper
|
// there is a group for this mapper
|
||||||
if(groupID) {
|
if(groupID) {
|
||||||
exports.doesGroupExist(groupID, function(err, exists) {
|
exports.doesGroupExist(groupID, function(err, exists) {
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
if(exists) return callback(null, {groupID: groupID});
|
if(exists) return callback(null, {groupID: groupID});
|
||||||
|
|
||||||
// hah, the returned group doesn't exist, let's create one
|
// hah, the returned group doesn't exist, let's create one
|
||||||
createGroupForMapper(callback)
|
createGroupForMapper(callback)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//there is no group for this mapper, let's create a group
|
//there is no group for this mapper, let's create a group
|
||||||
else {
|
else {
|
||||||
createGroupForMapper(callback)
|
createGroupForMapper(callback)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue