Unverified Commit 9876e7eb authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

IRIS: only request connections if suggestions are enabled

parent 28b530c8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -782,7 +782,8 @@ sub run {
						$self->app->add_stationinfo( $uid, 0, $train->train_id,
							$dep, $arr );
					}
					if ( defined $entry->{real_arr_ts}
					if (    $suggestions_enabled
						and defined $entry->{real_arr_ts}
						and $now->epoch - $entry->{real_arr_ts} < 900 )
					{
						my @destinations