aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/database/DataManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 2f333b38d..5e12dc865 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -311,7 +311,7 @@ public class DataManager {
"CREATE TABLE traccar1 (" +
"id INT PRIMARY KEY AUTO_INCREMENT);");
- createUser("admin", "admin", true);
+ addUser("admin", "admin", true);
}
} finally {
@@ -344,7 +344,7 @@ public class DataManager {
}
}
- public void createUser(String name, String password, boolean admin) throws SQLException {
+ public void addUser(String name, String password, boolean admin) throws SQLException {
Connection connection = dataSource.getConnection();
try {