From eb5481ca46dc984b82a27813100eaf5f5e91fc64 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 15 Mar 2020 19:24:30 +0100 Subject: [PATCH] DataService --- .../java/info/nightscout/androidaps/services/DataService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/services/DataService.java b/app/src/main/java/info/nightscout/androidaps/services/DataService.java index 348f213b85..9134cccb38 100644 --- a/app/src/main/java/info/nightscout/androidaps/services/DataService.java +++ b/app/src/main/java/info/nightscout/androidaps/services/DataService.java @@ -24,7 +24,6 @@ import info.nightscout.androidaps.plugins.general.overview.events.EventNewNotifi import info.nightscout.androidaps.plugins.general.overview.notifications.Notification; import info.nightscout.androidaps.plugins.general.smsCommunicator.SmsCommunicatorPlugin; import info.nightscout.androidaps.plugins.profile.ns.NSProfilePlugin; -import info.nightscout.androidaps.plugins.pump.danaR.activities.DanaRNSHistorySync; import info.nightscout.androidaps.plugins.source.DexcomPlugin; import info.nightscout.androidaps.plugins.source.EversensePlugin; import info.nightscout.androidaps.plugins.source.GlimpPlugin; @@ -202,9 +201,6 @@ public class DataService extends DaggerIntentService { if (insulin > 0 || carbs > 0) { EventNsTreatment evtTreatment = new EventNsTreatment(mode, json); rxBus.send(evtTreatment); - } else if (json.has(DanaRNSHistorySync.DANARSIGNATURE)) { - // old DB model - MainApp.getDbHelper().updateDanaRHistoryRecordId(json); } else if (eventType.equals(CareportalEvent.TEMPORARYTARGET)) { MainApp.getDbHelper().createTemptargetFromJsonIfNotExists(json); } else if (eventType.equals(CareportalEvent.TEMPBASAL)) {