mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
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
|
// hah, the returned group doesn't exist, let's create one
|
||||||
createGroupForMapper(callback)
|
createGroupForMapper(callback)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//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 {
|
createGroupForMapper(callback)
|
||||||
createGroupForMapper(callback)
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue