summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-06 10:22:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-06 10:22:18 +0200
commit9590fab2b07b1f2f7b543779e0310f1a6b44ad73 (patch)
tree451b7f580cb62b92d594e3f678991ec70321ccea /lib/DBInfoscreen.pm
parent165d74936a1a16c11ed7da4b80f046634347f30d (diff)
Remove support for RIS/HAFAS backend
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index b9b850d..c0fa57b 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -12,20 +12,12 @@ use DBInfoscreen::Helper::Marudor;
use DBInfoscreen::Helper::Wagonorder;
use File::Slurp qw(read_file);
use JSON;
-use Travel::Status::DE::HAFAS;
-use Travel::Status::DE::HAFAS::StopFinder;
use Travel::Status::DE::IRIS::Stations;
use utf8;
no if $] >= 5.018, warnings => 'experimental::smartmatch';
-my %default = (
- backend => 'iris',
- mode => 'app',
- admode => 'deparr',
-);
-
sub startup {
my ($self) = @_;
@@ -68,18 +60,6 @@ sub startup {
);
$self->attr(
- cache_hafas => sub {
- my ($self) = @_;
- return Cache::File->new(
- cache_root => $ENV{DBFAKEDISPLAY_HAFAS_CACHE}
- // '/tmp/dbf-hafas',
- default_expires => '180 seconds',
- lock_level => Cache::File::LOCK_LOCAL(),
- );
- }
- );
-
- $self->attr(
cache_iris_main => sub {
my ($self) = @_;
return Cache::File->new(