diff options
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS.pm')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 3e97644..c2f05e5 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -22,7 +22,7 @@ use Travel::Status::DE::HAFAS::Product; use Travel::Status::DE::HAFAS::Services; use Travel::Status::DE::HAFAS::StopFinder; -our $VERSION = '6.14'; +our $VERSION = '6.15'; # {{{ Endpoint Definition @@ -60,7 +60,7 @@ sub new { } if ( not defined $service ) { - $service = $conf{service} = 'DB'; + confess("You must specify a service"); } if ( defined $service and not exists $hafas_instance->{$service} ) { @@ -881,7 +881,7 @@ monitors =head1 VERSION -version 6.14 +version 6.15 =head1 DESCRIPTION @@ -1204,7 +1204,7 @@ of this module's features. Set B<hafas=>I<service> to use a specific service. =head1 AUTHOR -Copyright (C) 2015-2024 by Birte Kristina Friesel E<lt>derf@finalrewind.orgE<gt> +Copyright (C) 2015-2025 Birte Kristina Friesel E<lt>derf@finalrewind.orgE<gt> =head1 LICENSE |