Unverified Commit 44e9b5c2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

JourneyAtStop: Remove unused route accessor

parent 9d741794
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -55,21 +55,6 @@ sub new {
	return $ref;
}

sub route {
	my ($self) = @_;

	if ( $self->{route} ) {
		return @{ $self->{route} };
	}

	@{ $self->{route} }
	  = map { Travel::Status::DE::DBRIS::Location->new( json => $_ ) }
	  ( @{ $self->{raw_route} // [] },
		@{ $self->{raw_cancelled_route} // [] } );

	return @{ $self->{route} };
}

sub messages {
	my ($self) = @_;