Skip to content

Commit 5a3660a

Browse files
committed
Remove obsolete code
1 parent 8f33534 commit 5a3660a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

wcfsetup/install/files/lib/system/view/user/profile/UserProfileHeaderView.class.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,5 @@ private function initManagementContextMenu(): void
154154
tooltip: 'wcf.user.profile.management'
155155
)
156156
);
157-
158-
if (!$this->isInAccessibleGroup() || $this->user->userID == WCF::getUser()->userID) {
159-
return;
160-
}
161157
}
162158
}

0 commit comments

Comments
 (0)