aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DriversManager.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-21 09:59:27 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-21 09:59:27 +0500
commit839e741653c9b61e573fa1cdd0dad0641c79bcec (patch)
tree69ef63138122eb0d8cdebe38f678e1d0e2ff82df /src/org/traccar/database/DriversManager.java
parente00fbfa466b17e94f59e6ff8fefb83f08999b3ec (diff)
downloadtrackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.tar.gz
trackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.tar.bz2
trackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.zip
Abolish permissions classes and get permissions as Map from DB
Diffstat (limited to 'src/org/traccar/database/DriversManager.java')
-rw-r--r--src/org/traccar/database/DriversManager.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/database/DriversManager.java b/src/org/traccar/database/DriversManager.java
index dba06a37f..8c35f3ddf 100644
--- a/src/org/traccar/database/DriversManager.java
+++ b/src/org/traccar/database/DriversManager.java
@@ -21,10 +21,7 @@ import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.traccar.helper.Log;
-import org.traccar.model.DeviceDriver;
import org.traccar.model.Driver;
-import org.traccar.model.DriverPermission;
-import org.traccar.model.GroupDriver;
import org.traccar.model.BaseModel;
public class DriversManager extends ExtendedObjectManager {
@@ -32,7 +29,7 @@ public class DriversManager extends ExtendedObjectManager {
private final Map<String, Driver> driversByUniqueId = new ConcurrentHashMap<>();
public DriversManager(DataManager dataManager) {
- super(dataManager, Driver.class, DriverPermission.class, DeviceDriver.class, GroupDriver.class);
+ super(dataManager, Driver.class);
refreshItems();
refreshExtendedPermissions();
}