summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-03-09 19:10:08 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2023-03-09 19:10:08 +0100
commit609d7b3ebc2ed0f190799da2565910cec7d79339 (patch)
tree4994c9ec0d5a6fcbd95c3beb053333e49df6696b /lib
parent5d2bc5434316a4a391c610b0435cde94874d8818 (diff)
remove unused journey_edit_mask attrs
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm16
-rwxr-xr-xlib/Travelynx/Model/Journeys.pm11
2 files changed, 0 insertions, 27 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 4474600..aae5746 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -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;
diff --git a/lib/Travelynx/Model/Journeys.pm b/lib/Travelynx/Model/Journeys.pm
index 312910f..bf8c013 100755
--- a/lib/Travelynx/Model/Journeys.pm
+++ b/lib/Travelynx/Model/Journeys.pm
@@ -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 );
}