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,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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue