summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 912d95d..8fb57a2 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -131,7 +131,6 @@ sub handle_no_results_json {
if ($errstr) {
$json = {
api_version => $api_version,
- version => $self->config->{version},
error => $errstr,
};
}
@@ -143,7 +142,6 @@ sub handle_no_results_json {
{
$json = {
api_version => $api_version,
- version => $self->config->{version},
error => 'ambiguous station code/name',
candidates => \@candidates,
};
@@ -151,7 +149,6 @@ sub handle_no_results_json {
else {
$json = {
api_version => $api_version,
- version => $self->config->{version},
error => ( $errstr // "Got no results for '$station'" )
};
}
@@ -403,7 +400,6 @@ sub handle_request {
$self->stash( departures => [] );
$self->stash( title => 'DBF' );
- $self->stash( version => $self->config->{version} );
if ( not( $template ~~ [qw[app infoscreen json multi single text]] ) ) {
$template = 'app';
@@ -1110,7 +1106,6 @@ sub train_details {
$self->stash( departures => [] );
$self->stash( title => 'DBF' );
- $self->stash( version => $self->config->{version} );
my $res = {
train_type => undef,