summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-10-28 18:08:29 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-10-28 18:08:29 +0200
commit8dd73ca07434da6572c517fe90e271f79c183b73 (patch)
tree86c0ff12880f5a61afea2e2b156f5aa2e6793cd5 /lib
parentd5634fa2d8ca48b81076bb1a3885a912eb32a5e4 (diff)
remove geotrain feature (i.e., search trains, not stations, in the vicinity)
it was a nice little experiment, but ultimately not fit for permanent use.
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen.pm1
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm10
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 12da336..ef3e0a0 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -357,7 +357,6 @@ sub startup {
$r->get('/_auto')->to('static#geostop');
$r->get('/_autostop')->to('static#geostop');
- $r->get('/_autotrain')->to('static#geotrain');
$r->get('/_datenschutz')->to('static#privacy');
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm
index 16eeb9a..e30b34f 100644
--- a/lib/DBInfoscreen/Controller/Static.pm
+++ b/lib/DBInfoscreen/Controller/Static.pm
@@ -49,16 +49,6 @@ sub geostop {
);
}
-sub geotrain {
- my ($self) = @_;
-
- $self->render(
- 'geotrain',
- with_geotrain => 1,
- hide_opts => 1
- );
-}
-
sub about {
my ($self) = @_;