diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index 56730b687767599529f9575a4ff681ade7ace0ab..647f6165dd688ab58781522bc2a7575a3e0213bf 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -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