From: Tim Düsterhus Date: Tue, 15 Sep 2020 09:51:22 +0000 (+0200) Subject: Remove isContentAuthor from UserProfileCommentManager X-Git-Tag: 5.3.0_Beta_1~24^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d63dcac087df12033dd71097c1406c61dad4a6ed;p=GitHub%2FWoltLab%2FWCF.git Remove isContentAuthor from UserProfileCommentManager Defining the owner of the user profile as being the “author” of the profile is a bit wonky and can cause confusion due to the object author badge. see https://community.woltlab.com/thread/285649-5-3-autor-label-an-der-eigenen-pinnwand/ --- diff --git a/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php b/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php index ae9aaccc0d..29dc8a061a 100644 --- a/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php +++ b/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php @@ -251,12 +251,4 @@ class UserProfileCommentManager extends AbstractCommentManager implements IViewa } } } - - /** - * @inheritDoc - */ - public function isContentAuthor($commentOrResponse) { - $userID = $this->getObjectID($commentOrResponse); - return $commentOrResponse->userID && $userID == $commentOrResponse->userID; - } }