summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Journey.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index 5bc7f80..9e12211 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -8,8 +8,7 @@ use 5.014;
use parent 'Class::Accessor';
use DateTime::Format::Strptime;
-use List::Util qw(any);
-use Scalar::Util qw(weaken);
+use List::Util qw(any);
use Travel::Status::DE::HAFAS::Stop;
our $VERSION = '5.01';
@@ -120,8 +119,6 @@ sub new {
datetime_ref => $datetime_ref,
};
- weaken( $stopref->{hafas} );
-
push( @stops, $stopref );
$route_end = $loc->name;