diff options
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 20 |
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( |