aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorIrving Gonzalez <ialexis93@gmail.com>2015-06-10 20:44:11 -0600
committerIrving Gonzalez <ialexis93@gmail.com>2015-06-10 20:44:11 -0600
commitd76d9459b18cb27c7a21ef5da3a7f68c178d51f5 (patch)
tree1579a6d55734bae35f8ac0c6584c8d1c9492b991 /src/org/traccar/database/DataManager.java
parent5dc81b6197b9a1387adffdc2628c24ca483d2376 (diff)
downloadtrackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.tar.gz
trackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.tar.bz2
trackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.zip
Revert "Begin implementing alerts"
This reverts commit 5dc81b6197b9a1387adffdc2628c24ca483d2376.
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 35e9cff95..9633ada58 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -46,7 +46,6 @@ import org.traccar.model.Permission;
import org.traccar.model.Position;
import org.traccar.model.Server;
import org.traccar.model.User;
-import org.traccar.model.Alert;
import com.mchange.v2.c3p0.ComboPooledDataSource;
@@ -323,10 +322,5 @@ public class DataManager {
.setObject(server)
.executeUpdate();
}
-
- public Collection<Alert> getAlertsByDevice(Long deviceId) throws SQLException {
- return QueryBuilder.create(dataSource, properties.getProperty("database.getAlertsByDevice"))
- .setLong("deviceId", deviceId)
- .executeQuery(new Alert());
- }
-} \ No newline at end of file
+
+}