mirror of
https://github.com/derf/travelynx
synced 2024-12-04 18:29:11 +00:00
Profile: remove unused compute_effective_visibility function
This commit is contained in:
parent
0e4bafafd8
commit
66e8dcb925
1 changed files with 0 additions and 8 deletions
|
@ -9,14 +9,6 @@ use DateTime;
|
||||||
|
|
||||||
# Internal Helpers
|
# 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 {
|
sub status_token_ok {
|
||||||
my ( $self, $status, $ts2_ext ) = @_;
|
my ( $self, $status, $ts2_ext ) = @_;
|
||||||
my $token = $self->param('token') // q{};
|
my $token = $self->param('token') // q{};
|
||||||
|
|
Loading…
Reference in a new issue