diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index a3920cc8a..6386e8b58 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -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 {