diff options
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r-- | src/org/traccar/Context.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index 13a3b33c4..058b60150 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -90,7 +90,7 @@ public class Context { } dataManager = new DataManager(properties); - dataCache = new DataCache(dataManager); + dataCache = new DataCache(); if (Boolean.valueOf(properties.getProperty("web.new"))) { permissionsManager = new PermissionsManager(); } @@ -113,6 +113,7 @@ public class Context { serverManager = new ServerManager(); dataManager.initDatabaseSchema(); + dataCache.init(dataManager); serverManager.init(); } |