summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
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) }