summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-27 07:40:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-03-27 07:40:57 +0100
commit8180aad8438800056fb4baeedde12120f8bd90c6 (patch)
tree4d157117fbb40e3de80362a717faaf9546b9c096 /index.pl
parent4896d8f4192a7f1473922475350c1675c05633da (diff)
city is entirely optional now
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index 6dcee58..6bd4844 100644
--- a/index.pl
+++ b/index.pl
@@ -130,9 +130,6 @@ sub get_results {
}
else {
my $efa_url = 'http://efa.vrr.de/vrr/XSLT_DM_REQUEST';
- if ( not $city ) {
- return { errstr => 'City must be specified for this backend' };
- }
if ($sub_backend) {
my $service
= first { lc( $_->{shortname} ) eq lc($sub_backend) }