run update hook after setting arrival time
This commit is contained in:
parent
d701442306
commit
5f80c151c1
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,6 @@ sub startup {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( not( defined $train or $force ) ) {
|
if ( not( defined $train or $force ) ) {
|
||||||
$self->run_hook( $uid, 'update' );
|
|
||||||
|
|
||||||
# Arrival time via IRIS is unknown, try falling back to HAFAS
|
# Arrival time via IRIS is unknown, try falling back to HAFAS
|
||||||
if ( my $station_data
|
if ( my $station_data
|
||||||
|
@ -594,6 +593,7 @@ sub startup {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$self->run_hook( $uid, 'update' );
|
||||||
return ( 1, undef );
|
return ( 1, undef );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue