summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Family.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Family.php b/app/Family.php
index daf33c778b..0e8e5e6833 100644
--- a/app/Family.php
+++ b/app/Family.php
@@ -138,10 +138,6 @@ class Family extends GedcomRecord {
/** {@inheritdoc} */
public function canShowName($access_level = null) {
- if ($access_level === null) {
- $access_level = Auth::accessLevel($this->tree);
- }
-
// We can always see the name (Husband-name + Wife-name), however,
// the name will often be "private + private"
return true;