From f7f4385d5d4fac6336f53fb0d5c7538d7c73769e Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 26 Jun 2018 00:20:43 +0200 Subject: [PATCH] cleanup --- .../plugins/IobCobCalculator/IobCobCalculatorPlugin.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java index 251e36a344..d6fc244eef 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java @@ -388,10 +388,6 @@ public class IobCobCalculatorPlugin extends PluginBase { //log.debug(">>> getAutosensData Cache hit " + data.log(time)); return data; } else { - if (time > now) { - // data may not be calculated yet, use last data - return getLastAutosensData("getAutosensData"); - } //log.debug(">>> getAutosensData Cache miss " + new Date(time).toLocaleString()); return null; }