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,13 +513,12 @@ Pad.prototype.copy = function copy(destinationID, force, callback) {
console.error("erroring out without force - after");
return;
}
else // exists and forcing
{
padManager.getPad(destinationID, function(err, pad) {
if (ERR(err, callback)) return;
pad.remove(callback);
});
}
// exists and forcing
padManager.getPad(destinationID, function(err, pad) {
if (ERR(err, callback)) return;
pad.remove(callback);
});
}
else
{