summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-03 09:58:06 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-03 09:58:06 +0100
commit09531c474d341f4232e291a253ec3c7e2210070c (patch)
tree5727388b4798894444367ceb2417371f382efe96 /lib/DBInfoscreen/Controller
parent7d1bf77228a649590870673865cbce1cae076eef (diff)
Wagonorder: remove unused dbdb cache and station info functions4.20.8
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 06ce041..c4b3d08 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -711,7 +711,7 @@ sub render_train {
= ( $wagonorder_req, $occupancy_req, $stationinfo_req, $route_req );
if ( $departure->{wr_link} ) {
- $self->wagonorder->is_available_p( $result, $departure->{wr_link} )
+ $self->wagonorder->get_p( $result->train_no, $departure->{wr_link} )
->then(
sub {
# great!