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

pull/3478/head
muxator 2018-08-29 02:46:08 +02:00
parent 049f5f2859
commit 0e8789863c
1 changed files with 6 additions and 7 deletions

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
{