mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
Fix oopsie
This commit is contained in:
parent
714ab8fca5
commit
4e73a520ea
@ -24,13 +24,13 @@ class UpdateUserMentionsMetadata
|
||||
|
||||
public function subscribe(Dispatcher $events)
|
||||
{
|
||||
$events->listen(RegisterNotificationTypes::class, );
|
||||
$events->listen(RegisterNotificationTypes::class, [$this, 'registerNotificationType']);
|
||||
|
||||
$events->listen(PostWasPosted::class, );
|
||||
$events->listen(PostWasRevised::class, );
|
||||
$events->listen(PostWasHidden::class, );
|
||||
$events->listen(PostWasRestored::class, );
|
||||
$events->listen(PostWasDeleted::class, );
|
||||
$events->listen(PostWasPosted::class, [$this, 'whenPostWasPosted']);
|
||||
$events->listen(PostWasRevised::class, [$this, 'whenPostWasRevised']);
|
||||
$events->listen(PostWasHidden::class, [$this, 'whenPostWasHidden']);
|
||||
$events->listen(PostWasRestored::class, [$this, 'whenPostWasRestored']);
|
||||
$events->listen(PostWasDeleted::class, [$this, 'whenPostWasDeleted']);
|
||||
}
|
||||
|
||||
public function registerNotificationType(RegisterNotificationTypes $event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user