Commit 609d7b3e authored by Daniel Friesel's avatar Daniel Friesel
Browse files

remove unused journey_edit_mask attrs

parent 5d2bc543
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -159,22 +159,6 @@ sub startup {
		}
	);

	# TODO unused
	$self->attr(
		journey_edit_mask => sub {
			return {
				sched_departure => 0x0001,
				real_departure  => 0x0002,
				from_station    => 0x0004,
				route           => 0x0010,
				is_cancelled    => 0x0020,
				sched_arrival   => 0x0100,
				real_arrival    => 0x0200,
				to_station      => 0x0400,
			};
		}
	);

	$self->attr(
		coordinates_by_station => sub {
			my $legacy_names = $self->app->renamed_station;
+0 −11
Original line number Diff line number Diff line
@@ -101,17 +101,6 @@ sub min_to_human {
sub new {
	my ( $class, %opt ) = @_;

	$opt{journey_edit_mask} = {
		sched_departure => 0x0001,
		real_departure  => 0x0002,
		from_station    => 0x0004,
		route           => 0x0010,
		is_cancelled    => 0x0020,
		sched_arrival   => 0x0100,
		real_arrival    => 0x0200,
		to_station      => 0x0400,
	};

	return bless( \%opt, $class );
}