Remove obsolete code
authorMarcel Werk <burntime@woltlab.com>
Thu, 27 Apr 2023 13:58:04 +0000 (15:58 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 27 Apr 2023 13:58:04 +0000 (15:58 +0200)
The same event hash is already generated in `AbstractUserNotificationEvent`.

wcfsetup/install/files/lib/system/user/notification/event/AbstractCommentUserNotificationEvent.class.php

index 7f1c57761ed2caa66243af3a6b6a426a16d6a185..ab525ade7b92a63f42d7d37b0ef20da634104273 100644 (file)
@@ -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.
      */