summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-16 19:56:02 +0200
committerDerf Null <derf@finalrewind.org>2023-05-16 19:56:02 +0200
commitb7720a1acf9c5fa6bba09d66854efd63f982cdc6 (patch)
tree60c37a028646d5b8a7b49d8b3b4d574e65b1ebe6 /lib
parentb9f8ccd82af56a50f2617048fb3c43d824521f54 (diff)
get_user_status: remove superfluous station requests
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm14
1 files changed, 0 insertions, 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;