db/Pad: removed unuseful else clause, no functional changes
parent
049f5f2859
commit
0e8789863c
|
@ -513,14 +513,13 @@ Pad.prototype.copy = function copy(destinationID, force, callback) {
|
|||
console.error("erroring out without force - after");
|
||||
return;
|
||||
}
|
||||
else // exists and forcing
|
||||
{
|
||||
|
||||
// exists and forcing
|
||||
padManager.getPad(destinationID, function(err, pad) {
|
||||
if (ERR(err, callback)) return;
|
||||
pad.remove(callback);
|
||||
});
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
callback();
|
||||
|
|
Loading…
Reference in New Issue