From 049f5f2859700185e4f94251ba10c1edbf5c0245 Mon Sep 17 00:00:00 2001 From: muxator Date: Wed, 29 Aug 2018 02:44:51 +0200 Subject: [PATCH] db/Pad: removed unuseful else clause, no functional changes --- src/node/db/Pad.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index 0cb01cac..a3920cc8 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -489,11 +489,9 @@ Pad.prototype.copy = function copy(destinationID, force, callback) { callback(new customError("groupID does not exist for destinationID","apierror")); return; } + //everything is fine, continue - else - { - callback(); - } + callback(); }); } else