From bbd6c58dfd0fc855810e62b1c716784622e1b9fe Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 8 Jan 2018 11:32:08 +0100 Subject: [PATCH] feat(MainDb): disable friends migration, enable this after friends cpp migration --- src/db/main-db.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/db/main-db.cpp b/src/db/main-db.cpp index de45c0850..676ae0230 100644 --- a/src/db/main-db.cpp +++ b/src/db/main-db.cpp @@ -2646,7 +2646,9 @@ bool MainDb::import (Backend, const string ¶meters) { } L_BEGIN_LOG_EXCEPTION - d->importLegacyFriends(inDbSession); + // TODO: Remove condition after cpp migration in friends/friends list. + if (false) + d->importLegacyFriends(inDbSession); L_END_LOG_EXCEPTION L_BEGIN_LOG_EXCEPTION