mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
db/Pad: removed unuseful else clause, no functional changes
This commit is contained in:
parent
049f5f2859
commit
0e8789863c
1 changed files with 6 additions and 7 deletions
|
@ -513,14 +513,13 @@ Pad.prototype.copy = function copy(destinationID, force, callback) {
|
||||||
console.error("erroring out without force - after");
|
console.error("erroring out without force - after");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else // exists and forcing
|
|
||||||
{
|
// exists and forcing
|
||||||
padManager.getPad(destinationID, function(err, pad) {
|
padManager.getPad(destinationID, function(err, pad) {
|
||||||
if (ERR(err, callback)) return;
|
if (ERR(err, callback)) return;
|
||||||
pad.remove(callback);
|
pad.remove(callback);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
callback();
|
callback();
|
||||||
|
|
Loading…
Reference in a new issue