diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-07 09:34:03 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-07 09:34:03 +1200 |
commit | bffaeb73d428d6b8cf78a727d9f48b6ef3722431 (patch) | |
tree | 29166801123bba650c140bcf40842591d51466db /src/org/traccar/database | |
parent | 5f4e33e16040412edf3dbe34866a467429a9b37c (diff) | |
parent | 466364542c61e103d0e9d38aca70e729e688be35 (diff) | |
download | traccar-server-bffaeb73d428d6b8cf78a727d9f48b6ef3722431.tar.gz traccar-server-bffaeb73d428d6b8cf78a727d9f48b6ef3722431.tar.bz2 traccar-server-bffaeb73d428d6b8cf78a727d9f48b6ef3722431.zip |
Merge pull request #1397 from vitalidze/master
Initialise API for old interface
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 0b8cff03a..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.getBoolean("web.old")) { + if (config.getString("web.type", "new").equals("new") || config.getString("web.type", "new").equals("api")) { Connection connection = dataSource.getConnection(); ResultSet result = connection.getMetaData().getTables( |