From b7720a1acf9c5fa6bba09d66854efd63f982cdc6 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Tue, 16 May 2023 19:56:02 +0200 Subject: [PATCH] get_user_status: remove superfluous station requests --- lib/Travelynx.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 7ec1e5c..4d11fe1 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1374,20 +1374,6 @@ sub startup { if ($in_transit) { - if ( my $station - = $self->stations->get_by_eva( $in_transit->{dep_eva} ) ) - { - $in_transit->{dep_ds100} = $station->{ds100}; - $in_transit->{dep_name} = $station->{name}; - } - if ( $in_transit->{arr_eva} - and my $station - = $self->stations->get_by_eva( $in_transit->{arr_eva} ) ) - { - $in_transit->{arr_ds100} = $station->{ds100}; - $in_transit->{arr_name} = $station->{name}; - } - my @route = @{ $in_transit->{route} // [] }; my @route_after; my $dep_info;