diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-15 18:19:48 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-15 18:19:48 +0200 |
commit | ebcdfc7f21bf27adce358f346d6656aba421f276 (patch) | |
tree | 0e25f855e440268e634ea3c9d37ee8fad558d961 | |
parent | a941347c9684f89fcc0c0d881f92e51682cfe1a0 (diff) |
EFA(3pm): Remove efa_encoding parameter (unused/unsupported for a long time)
-rwxr-xr-x | bin/efa-m | 5 | ||||
-rw-r--r-- | lib/Travel/Status/DE/EFA.pm | 6 |
2 files changed, 1 insertions, 10 deletions
@@ -16,7 +16,6 @@ use Travel::Status::DE::EFA; my $service = 'VRR'; my $efa_url; -my $efa_encoding; my $use_cache = 1; my $cache; my ( $json_output, $raw_json_output ); @@ -159,8 +158,7 @@ elsif ($service) { ); exit 1; } - $efa_encoding = $service_ref->{encoding}; - $efa_url = undef; + $efa_url = undef; } sub new_efa { @@ -171,7 +169,6 @@ sub new_efa { cache => $cache, date => $date, developer_mode => $developer_mode, - efa_encoding => $efa_encoding, full_routes => $full_routes, place => $place, name => $input, diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 87ff2ec..2704c3e 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -788,12 +788,6 @@ B<stop> (stop/station name). Request departures for the date/time specified by I<DateTime object>. Default: now. -=item B<efa_encoding> => I<encoding> - -Some EFA servers do not correctly specify their response encoding. If you -observe encoding issues, you can manually specify it here. Example: -iso-8859-15. - =item B<full_routes> => B<0>|B<1> If true: Request full routes for all departures from the backend. This |