mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
db/PadManager: early return, no functional changes
This commit is contained in:
parent
12f224ae72
commit
ecb0c41d29
1 changed files with 17 additions and 18 deletions
|
@ -205,10 +205,10 @@ exports.sanitizePadId = function(padId, callback) {
|
|||
if(transform_index >= padIdTransforms.length)
|
||||
{
|
||||
callback(padId);
|
||||
return;
|
||||
}
|
||||
|
||||
//check if padId exists
|
||||
else
|
||||
{
|
||||
exports.doesPadExists(padId, function(junk, exists)
|
||||
{
|
||||
if(exists)
|
||||
|
@ -229,7 +229,6 @@ exports.sanitizePadId = function(padId, callback) {
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
exports.isValidPadId = function(padId)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue