summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Traveling.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-30 12:47:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-30 12:48:23 +0200
commit99aa3a4a0d467fd83ba78096cf34113df797f0d8 (patch)
tree3a6e4dc9b7a7bcdb73fd3071dcca3e68c218702b /lib/Travelynx/Controller/Traveling.pm
parent867a5d4afbb3a5c0ad0e5dfbc10d2516e3e9123f (diff)
Implement deletion of inactive accounts
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index ee8d27d..0a7250f 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -13,6 +13,7 @@ sub homepage {
with_autocomplete => 1,
with_geolocation => 1
);
+ $self->mark_seen( $self->current_user->{id} );
}
else {
$self->render( 'landingpage', intro => 1 );
@@ -272,6 +273,7 @@ sub station {
title => "travelynx: $status->{station_name}",
);
}
+ $self->mark_seen( $self->current_user->{id} );
}
sub redirect_to_station {