summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-30 19:58:37 +0200
committerDerf Null <derf@finalrewind.org>2023-06-30 19:58:37 +0200
commit66e8dcb9254ee172f3aa694526800e399f1808d5 (patch)
treef7c055e2ba7717ee3deb42447eae312a42389f5d
parent0e4bafafd8415d19c86b8986540c678b856ded68 (diff)
Profile: remove unused compute_effective_visibility function1.32.8
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm8
1 files changed, 0 insertions, 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{};