summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );
}