--- android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/10/01 05:24:35 376
+++ android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/10/01 08:21:09 377
@@ -96,10 +96,12 @@
"'Bane.dk Fjern' as banedk1, " +
"'Bane.dk stog' as banedk2 " +
"FROM trainstations ORDER BY id");
+ } else if (dump.equals("disabled")) {
+ res = dumpResultset("SELECT * FROM trainstations WHERE enabled = false ORDER BY id");
}
}
if (res == null) {
- res = "All
All with links
Missing coords
Duplicate stations";
+ res = "All
All with links
Missing coords
Duplicate stations
Disabled stations";
}
resp.setContentType("text/html");