Commit a760274c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Invalidate stats cache after adding a new journey

parent d77566bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -274,6 +274,7 @@ sub startup {
				$journey_id
				  = $db->insert( 'journeys', $entry, { returning => 'id' } )
				  ->hash->{id};
				$self->invalidate_stats_cache( $opt{rt_departure}, $db );
			};

			if ($@) {