diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-30 18:06:04 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-30 18:06:04 +0200 |
commit | 94c8b5a7d1e2cb7f73b0eca7e33d916775504cd4 (patch) | |
tree | 956062af510d60d0faf4b425697f008ad7c4cc36 /lib/Travelynx.pm | |
parent | d58f23c3c7b06cc0243c1945dacd8673d2d2e428 (diff) |
Do not store train colours in database. They're only supported by MOTIS.
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 2f8e981..0f7a573 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2192,7 +2192,6 @@ sub startup { train_line => $latest->{train_line}, train_no => $latest->{train_no}, train_id => $latest->{train_id}, - train_color => $latest->{train_color}, sched_departure => epoch_to_dt( $latest->{sched_dep_ts} ), real_departure => epoch_to_dt( $latest->{real_dep_ts} ), dep_ds100 => $latest->{dep_ds100}, @@ -2287,7 +2286,6 @@ sub startup { line => $status->{train_line}, no => $status->{train_no}, id => $status->{train_id}, - color => $status->{train_color}, hafasId => $status->{extra_data}{trip_id}, }, intermediateStops => [], |