backend selection: Hide Resrobot and TPG

These backends do not provide trip/journey details, making them useless for
travelynx
This commit is contained in:
Birte Kristina Friesel 2024-08-17 23:10:07 +02:00
parent 298b099097
commit c481300106
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1026,6 +1026,10 @@ sub backend_form {
$backend->{type} = $type; $backend->{type} = $type;
} }
# These backends lack a journey endpoint and are useless for travelynx
@backends
= grep { $_->{name} ne 'Resrobot' and $_->{name} ne 'TPG' } @backends;
my $iris = shift @backends; my $iris = shift @backends;
@backends @backends