From 3702569f5d12afd1c6c2ed428b28f65728e63028 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Thu, 23 Feb 2017 19:08:09 +0100 Subject: [PATCH] [enh] Clean dead code --- app/lib/dal/fileDAL.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/dal/fileDAL.js b/app/lib/dal/fileDAL.js index 5f6614edd..69d3f83e6 100644 --- a/app/lib/dal/fileDAL.js +++ b/app/lib/dal/fileDAL.js @@ -541,10 +541,10 @@ function FileDAL(params) { const from = yield that.getWrittenIdtyByPubkey(entry.issuer); const to = yield that.getWrittenIdtyByPubkey(entry.receiver); if (entry.op == constants.IDX_CREATE) { - that.wotb.addLink(from.wotb_id, to.wotb_id, true); + that.wotb.addLink(from.wotb_id, to.wotb_id); } else { // Update = removal - that.wotb.removeLink(from.wotb_id, to.wotb_id, true); + that.wotb.removeLink(from.wotb_id, to.wotb_id); } } }); -- GitLab