Commit 5f80c151 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

run update hook after setting arrival time

parent d7014423
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -568,7 +568,6 @@ sub startup {
			}

			if ( not( defined $train or $force ) ) {
				$self->run_hook( $uid, 'update' );

				# Arrival time via IRIS is unknown, try falling back to HAFAS
				if ( my $station_data
@@ -594,6 +593,7 @@ sub startup {
						);
					}
				}
				$self->run_hook( $uid, 'update' );
				return ( 1, undef );
			}