From 531b9ffd820dba61b46705805a91f229ddcf925d Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sat, 2 May 2020 15:34:03 +0200 Subject: [PATCH] Remove obsolete method --- .../Blueprint/DiscussionRenamedBlueprint.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/framework/core/src/Notification/Blueprint/DiscussionRenamedBlueprint.php b/framework/core/src/Notification/Blueprint/DiscussionRenamedBlueprint.php index 7e569490a..181d298ad 100644 --- a/framework/core/src/Notification/Blueprint/DiscussionRenamedBlueprint.php +++ b/framework/core/src/Notification/Blueprint/DiscussionRenamedBlueprint.php @@ -51,19 +51,6 @@ class DiscussionRenamedBlueprint implements BlueprintInterface return ['postNumber' => (int) $this->post->number]; } - /** - * {@inheritdoc} - */ - public function getAttributes(): array - { - return [ - 'type' => static::getType(), - 'from_user_id' => $this->post->user ? $this->post->user->id : null, - 'subject_id' => $this->post->discussion ? $this->post->discussion->id : null, - 'data' => json_encode(['postNumber' => (int) $this->post->number]), - ]; - } - /** * {@inheritdoc} */