diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-09 13:31:43 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-09 13:31:43 +0200 | 
| commit | 0d3e16487861ca644920b7bacf1db0bac3c63199 (patch) | |
| tree | e6099a09bfd3a464c6891d989631b7598c8f2c84 /lib/Travelynx/Model/Stations.pm | |
| parent | a9d742e61bd2afafea711d7ccd589ed704c415da (diff) | |
perltidy
Diffstat (limited to 'lib/Travelynx/Model/Stations.pm')
| -rw-r--r-- | lib/Travelynx/Model/Stations.pm | 12 | 
1 files changed, 4 insertions, 8 deletions
| diff --git a/lib/Travelynx/Model/Stations.pm b/lib/Travelynx/Model/Stations.pm index 761c5de..6758b93 100644 --- a/lib/Travelynx/Model/Stations.pm +++ b/lib/Travelynx/Model/Stations.pm @@ -99,8 +99,8 @@ sub get_backends {  	$opt{db} //= $self->{pg}->db; -	my $res = $opt{db} -	  ->select( 'backends', [ 'id', 'name', 'iris', 'hafas', 'dbris', 'motis' ] ); +	my $res = $opt{db}->select( 'backends', +		[ 'id', 'name', 'iris', 'hafas', 'dbris', 'motis' ] );  	my @ret;  	while ( my $row = $res->hash ) { @@ -206,12 +206,8 @@ sub add_or_update {  				returning *  			},  			( -				$opt{backend_id}, -				$stop->id, -				$stop->name, -				$stop->lat, -				$stop->lon, -				0, +				$opt{backend_id}, $stop->id,  $stop->name, +				$stop->lat,       $stop->lon, 0,  			)  		); | 
