Commit 476ecf88 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

HAFAS: Remove routeinfo extraction, it isn't used anymore

parent dbf372db
Loading
Loading
Loading
Loading
+11 −14
Original line number Diff line number Diff line
@@ -293,7 +293,6 @@ sub results {
		my $delay         = $tr->getAttribute('delay');
		my $e_delay       = $tr->getAttribute('e_delay');
		my $info          = $tr->getAttribute('delayReason');
		my $routeinfo     = $tr->textContent;
		my @messages;

		if ( not( $time and $dest ) ) {
@@ -307,7 +306,6 @@ sub results {
		substr( $date, 6, 0, '20' );

		$info //= q{};
		$routeinfo //= q{};

		# delayReason=" " means no delay reason
		if ( $info eq q{ } ) {
@@ -329,7 +327,6 @@ sub results {
				platform     => $platform,
				new_platform => $new_platform,
				info         => $info,
				routeinfo_raw => $routeinfo,
			)
		);
	}