Loading lib/Travelynx/Model/Stations.pm +4 −2 Original line number Original line Diff line number Diff line Loading @@ -217,7 +217,7 @@ sub add_or_update { $stop->{eva} = $s->hash->{eva}; $stop->{eva} = $s->hash->{eva}; return $s->hash; return; } } my $loc = $stop->loc; my $loc = $stop->loc; Loading Loading @@ -255,6 +255,8 @@ sub add_or_update { archived => 0 archived => 0 } } ); ); return; } } sub add_meta { sub add_meta { Loading Loading @@ -347,7 +349,7 @@ sub get_by_eva { )->hash; )->hash; } } # Fast # Slow sub get_by_external_id { sub get_by_external_id { my ( $self, %opt ) = @_; my ( $self, %opt ) = @_; Loading Loading
lib/Travelynx/Model/Stations.pm +4 −2 Original line number Original line Diff line number Diff line Loading @@ -217,7 +217,7 @@ sub add_or_update { $stop->{eva} = $s->hash->{eva}; $stop->{eva} = $s->hash->{eva}; return $s->hash; return; } } my $loc = $stop->loc; my $loc = $stop->loc; Loading Loading @@ -255,6 +255,8 @@ sub add_or_update { archived => 0 archived => 0 } } ); ); return; } } sub add_meta { sub add_meta { Loading Loading @@ -347,7 +349,7 @@ sub get_by_eva { )->hash; )->hash; } } # Fast # Slow sub get_by_external_id { sub get_by_external_id { my ( $self, %opt ) = @_; my ( $self, %opt ) = @_; Loading