From 66e8dcb9254ee172f3aa694526800e399f1808d5 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Fri, 30 Jun 2023 19:58:37 +0200 Subject: [PATCH] Profile: remove unused compute_effective_visibility function --- lib/Travelynx/Controller/Profile.pm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index 3321721..767bcce 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -9,14 +9,6 @@ use DateTime; # Internal Helpers -sub compute_effective_visibility { - my ( $self, $default_visibility, $journey_visibility ) = @_; - if ( $journey_visibility eq 'default' ) { - return $default_visibility; - } - return $journey_visibility; -} - sub status_token_ok { my ( $self, $status, $ts2_ext ) = @_; my $token = $self->param('token') // q{};