|
@@ -451,7 +451,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
// MARK: - misc.
|
|
// MARK: - misc.
|
|
|
|
|
|
func migrateToDcAccounts() {
|
|
func migrateToDcAccounts() {
|
|
- let dcContext = DcContext()
|
|
|
|
let dbHelper = DatabaseHelper()
|
|
let dbHelper = DatabaseHelper()
|
|
if let databaseLocation = dbHelper.unmanagedDatabaseLocation,
|
|
if let databaseLocation = dbHelper.unmanagedDatabaseLocation,
|
|
dcAccounts.migrate(dbLocation: databaseLocation) == 0 {
|
|
dcAccounts.migrate(dbLocation: databaseLocation) == 0 {
|