Comment out migration code in CoreContext.swift

This commit is contained in:
Benoit Martins 2026-02-05 09:11:33 +00:00
parent 2287e9a45a
commit 9ac0445347

View file

@ -168,6 +168,7 @@ class CoreContext: ObservableObject {
self.mCore.fecEnabled = true
// Migration
/*
self.mCore.config!.setBool(section: "sip", key: "auto_answer_replacing_calls", value: false)
self.mCore.config!.setBool(section: "sip", key: "deliver_imdn", value: false)
self.mCore.config!.setString(section: "misc", key: "log_collection_upload_server_url", value: "https://files.linphone.org:443/http-file-transfer-server/hft.php")
@ -177,6 +178,7 @@ class CoreContext: ObservableObject {
self.mCore.imdnToEverybodyThreshold = 1
self.imdnToEverybodyThreshold = self.mCore.imdnToEverybodyThreshold == 1
//self.copyDatabaseFileToDocumentsDirectory()
*/
let shortcutsCount = self.mCore.config!.getInt(section: "ui", key: "shortcut_count", defaultValue: 0)
if shortcutsCount > 0 {