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:
committed by
Daniël Klabbers
parent
fd75df79a3
commit
531b9ffd82
@@ -51,19 +51,6 @@ class DiscussionRenamedBlueprint implements BlueprintInterface
|
|||||||
return ['postNumber' => (int) $this->post->number];
|
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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user