aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 2dea7ef40..8337762f7 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -534,17 +534,17 @@ public class DataManager {
.executeQuery(UserPermission.class);
}
- public void linkUser(long userId, long otherUserId) throws SQLException {
+ public void linkUser(long userId, long managedUserId) throws SQLException {
QueryBuilder.create(dataSource, getQuery("database.linkUser"))
.setLong("userId", userId)
- .setLong("otherUserId", otherUserId)
+ .setLong("managedUserId", managedUserId)
.executeUpdate();
}
- public void unlinkUser(long userId, long otherUserId) throws SQLException {
+ public void unlinkUser(long userId, long managedUserId) throws SQLException {
QueryBuilder.create(dataSource, getQuery("database.unlinkUser"))
.setLong("userId", userId)
- .setLong("otherUserId", otherUserId)
+ .setLong("managedUserId", managedUserId)
.executeUpdate();
}
}