summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm
index 0e03423..b8812f8 100755
--- a/lib/Travelynx/Controller/Profile.pm
+++ b/lib/Travelynx/Controller/Profile.pm
@@ -134,21 +134,6 @@ sub profile {
$opt{after} = $now->clone->subtract( weeks => 4 );
}
- if (
- $user->{default_visibility_str} eq 'public'
- or ( $user->{default_visibility_str} eq 'travelynx'
- and ( $my_user or $is_self ) )
- or ( $user->{default_visibility_str} eq 'followers'
- and $relation
- and $relation eq 'follows' )
- )
- {
- $opt{with_default_visibility} = 1;
- }
- else {
- $opt{with_default_visibility} = 0;
- }
-
if ($is_self) {
$opt{min_visibility} = 'followers';
}