db/Pad: removed unuseful else clause, no functional changes

This commit is contained in:
muxator 2018-08-29 02:46:08 +02:00
parent 049f5f2859
commit 0e8789863c

View file

@ -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();