Skip to content

Commit 4a83df8

Browse files
committed
remove events since they are now fired in laravel core
1 parent 2eb9653 commit 4a83df8

File tree

3 files changed

+0
-56
lines changed

3 files changed

+0
-56
lines changed

src/Events/MessageWasSent.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/Events/SendingMessage.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/PushbulletChannel.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,10 @@ public function send($notifiable, Notification $notification)
3939
return;
4040
}
4141

42-
$shouldNotSendMessage = event(new SendingMessage($notifiable, $notification), [], true) === false;
43-
44-
if ($shouldNotSendMessage) {
45-
return;
46-
}
47-
4842
/** @var \NotificationChannels\Pushbullet\PushbulletMessage $message */
4943
$message = $notification->toPushbullet()->target($target);
5044

5145
$this->pushbullet->send($message->toArray());
52-
53-
event(new MessageWasSent($notifiable, $notification));
5446
}
5547

5648
/**

0 commit comments

Comments
 (0)