aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/BaseResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/api/BaseResource.java')
-rw-r--r--src/org/traccar/api/BaseResource.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/org/traccar/api/BaseResource.java b/src/org/traccar/api/BaseResource.java
index 502591efe..4e1db7831 100644
--- a/src/org/traccar/api/BaseResource.java
+++ b/src/org/traccar/api/BaseResource.java
@@ -15,13 +15,8 @@
*/
package org.traccar.api;
-import java.sql.SQLException;
-
import javax.ws.rs.core.SecurityContext;
-import org.traccar.Context;
-import org.traccar.model.BaseModel;
-import org.traccar.model.User;
public class BaseResource {
@@ -35,8 +30,4 @@ public class BaseResource {
}
return 0;
}
-
- protected void linkNewEntity(BaseModel entity) throws SQLException {
- Context.getDataManager().linkObject(User.class, getUserId(), entity.getClass(), entity.getId(), true);
- }
}