From 466364542c61e103d0e9d38aca70e729e688be35 Mon Sep 17 00:00:00 2001 From: Vitaly Litvak Date: Sun, 6 Sep 2015 11:39:39 +0300 Subject: For #1395 - updated 'web.type' values to lower case --- src/org/traccar/database/DataManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/database') diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 08c721e83..add355ea7 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -143,7 +143,7 @@ public class DataManager implements IdentityManager { private void initDatabaseSchema() throws SQLException { - if (config.getString("web.type", "NEW").equals("NEW") || config.getString("web.type", "NEW").equals("API")) { + if (config.getString("web.type", "new").equals("new") || config.getString("web.type", "new").equals("api")) { Connection connection = dataSource.getConnection(); ResultSet result = connection.getMetaData().getTables( -- cgit v1.2.3