aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DriversManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/DriversManager.java')
-rw-r--r--src/org/traccar/database/DriversManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DriversManager.java b/src/org/traccar/database/DriversManager.java
index 8df06d972..e89d59311 100644
--- a/src/org/traccar/database/DriversManager.java
+++ b/src/org/traccar/database/DriversManager.java
@@ -168,7 +168,7 @@ public class DriversManager {
}
public void removeDriver(long driverId) throws SQLException {
- dataManager.removeAttribute(driverId);
+ dataManager.removeDriver(driverId);
if (drivers.containsKey(driverId)) {
String driverUniqueId = drivers.get(driverId).getUniqueId();
drivers.remove(driverId);