1
0
mirror of https://github.com/flarum/core.git synced 2025-07-18 15:21:16 +02:00

Remove obsolete method

This commit is contained in:
Franz Liedke
2020-05-02 15:34:03 +02:00
committed by Daniël Klabbers
parent fd75df79a3
commit 531b9ffd82

View File

@@ -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}
*/