mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 14:16:17 +02:00
db/GroupManager: early return, no functional changes
This commit is contained in:
parent
9ed7608421
commit
a1d21c0cd2
@ -261,12 +261,11 @@ exports.createGroupPad = function(groupID, padName, text, callback)
|
||||
if(exists == false)
|
||||
{
|
||||
callback(new customError("groupID does not exist","apierror"));
|
||||
return;
|
||||
}
|
||||
|
||||
//group exists, everything is fine
|
||||
else
|
||||
{
|
||||
callback();
|
||||
}
|
||||
callback();
|
||||
});
|
||||
},
|
||||
//ensure pad does not exists
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user