From: Marcel Werk Date: Thu, 27 Apr 2023 13:58:04 +0000 (+0200) Subject: Remove obsolete code X-Git-Tag: 6.0.0_Alpha_1~191 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e9bf948808e5965f05d36f205a46a838dc47b08;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete code The same event hash is already generated in `AbstractUserNotificationEvent`. --- diff --git a/wcfsetup/install/files/lib/system/user/notification/event/AbstractCommentUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/AbstractCommentUserNotificationEvent.class.php index 7f1c57761e..ab525ade7b 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/AbstractCommentUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/AbstractCommentUserNotificationEvent.class.php @@ -52,14 +52,6 @@ abstract class AbstractCommentUserNotificationEvent extends AbstractSharedUserNo ]); } - /** - * @inheritDoc - */ - public function getEventHash() - { - return \sha1($this->eventID . '-' . $this->getUserNotificationObject()->objectID); - } - /** * Returns the name of the type to which the comment belong. */