backend selection: Hide Resrobot and TPG
These backends do not provide trip/journey details, making them useless for travelynx
This commit is contained in:
parent
298b099097
commit
c481300106
1 changed files with 4 additions and 0 deletions
|
@ -1026,6 +1026,10 @@ sub backend_form {
|
|||
$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;
|
||||
|
||||
@backends
|
||||
|
|
Loading…
Reference in a new issue