remove unused journey_edit_mask attrs

This commit is contained in:
Daniel Friesel 2023-03-09 19:10:08 +01:00
parent 5d2bc54343
commit 609d7b3ebc
2 changed files with 0 additions and 27 deletions

View file

@ -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( $self->attr(
coordinates_by_station => sub { coordinates_by_station => sub {
my $legacy_names = $self->app->renamed_station; my $legacy_names = $self->app->renamed_station;

View file

@ -101,17 +101,6 @@ sub min_to_human {
sub new { sub new {
my ( $class, %opt ) = @_; 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 ); return bless( \%opt, $class );
} }