aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 20:00:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 20:00:25 +1200
commitb2cbb5698ee7eea9abd811a6cc653b624b09e7d9 (patch)
treed43141266ef1ef3aa0555a6442470c4e5cf81b90 /src/org
parent2eea9f7e758e116a56a58070cc0d839286e606c7 (diff)
downloadtrackermap-server-b2cbb5698ee7eea9abd811a6cc653b624b09e7d9.tar.gz
trackermap-server-b2cbb5698ee7eea9abd811a6cc653b624b09e7d9.tar.bz2
trackermap-server-b2cbb5698ee7eea9abd811a6cc653b624b09e7d9.zip
Rename create user method
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 {