mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Fix oopsie
This commit is contained in:
@@ -24,13 +24,13 @@ class UpdateUserMentionsMetadata
|
|||||||
|
|
||||||
public function subscribe(Dispatcher $events)
|
public function subscribe(Dispatcher $events)
|
||||||
{
|
{
|
||||||
$events->listen(RegisterNotificationTypes::class, );
|
$events->listen(RegisterNotificationTypes::class, [$this, 'registerNotificationType']);
|
||||||
|
|
||||||
$events->listen(PostWasPosted::class, );
|
$events->listen(PostWasPosted::class, [$this, 'whenPostWasPosted']);
|
||||||
$events->listen(PostWasRevised::class, );
|
$events->listen(PostWasRevised::class, [$this, 'whenPostWasRevised']);
|
||||||
$events->listen(PostWasHidden::class, );
|
$events->listen(PostWasHidden::class, [$this, 'whenPostWasHidden']);
|
||||||
$events->listen(PostWasRestored::class, );
|
$events->listen(PostWasRestored::class, [$this, 'whenPostWasRestored']);
|
||||||
$events->listen(PostWasDeleted::class, );
|
$events->listen(PostWasDeleted::class, [$this, 'whenPostWasDeleted']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function registerNotificationType(RegisterNotificationTypes $event)
|
public function registerNotificationType(RegisterNotificationTypes $event)
|
||||||
|
Reference in New Issue
Block a user