mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
db/GroupManager: early return, no functional changes
This commit is contained in:
parent
da8faa1aa9
commit
9ed7608421
1 changed files with 4 additions and 5 deletions
|
@ -62,13 +62,12 @@ exports.deleteGroup = function(groupID, callback)
|
|||
if(_group == null)
|
||||
{
|
||||
callback(new customError("groupID does not exist","apierror"));
|
||||
return;
|
||||
}
|
||||
|
||||
//group exists, everything is fine
|
||||
else
|
||||
{
|
||||
group = _group;
|
||||
callback();
|
||||
}
|
||||
group = _group;
|
||||
callback();
|
||||
});
|
||||
},
|
||||
//iterate trough all pads of this groups and delete them
|
||||
|
|
Loading…
Reference in a new issue