From 6e9bf948808e5965f05d36f205a46a838dc47b08 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 27 Apr 2023 15:58:04 +0200 Subject: [PATCH] Remove obsolete code The same event hash is already generated in `AbstractUserNotificationEvent`. --- .../event/AbstractCommentUserNotificationEvent.class.php | 8 -------- 1 file changed, 8 deletions(-) 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. */ -- 2.20.1