Unverified Commit ebcdfc7f authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

EFA(3pm): Remove efa_encoding parameter (unused/unsupported for a long time)

parent a941347c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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,7 +158,6 @@ elsif ($service) {
		);
		exit 1;
	}
	$efa_encoding = $service_ref->{encoding};
	$efa_url = undef;
}

@@ -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,
+0 −6
Original line number Diff line number Diff line
@@ -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