Skip to content

Commit f356289

Browse files
Feature/lar 184 discussion double notification send (#343)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 6dc96f1 commit f356289

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/Providers/EventServiceProvider.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,15 @@
99
use App\Events\CommentWasAdded;
1010
use App\Events\ReplyWasCreated;
1111
use App\Events\SponsoringPaymentInitialize;
12-
use App\Events\ThreadWasCreated;
1312
use App\Events\UserBannedEvent;
1413
use App\Events\UserUnbannedEvent;
1514
// use App\Listeners\SendCompanyEmailVerificationNotification;
1615
use App\Listeners\NotifyMentionedUsers;
17-
use App\Listeners\PostNewThreadNotification;
1816
use App\Listeners\SendBanNotificationListener;
1917
use App\Listeners\SendNewArticleNotification;
2018
use App\Listeners\SendNewCommentNotification;
2119
// use App\Listeners\SendWelcomeCompanyNotification;
2220
use App\Listeners\SendNewReplyNotification;
23-
use App\Listeners\SendNewThreadNotification;
2421
use App\Listeners\SendPaymentNotification;
2522
use App\Listeners\SendUnbanNotificationListener;
2623
use App\Listeners\SendWelcomeMailNotification;
@@ -42,10 +39,6 @@ final class EventServiceProvider extends ServiceProvider
4239
SendNewReplyNotification::class,
4340
NotifyMentionedUsers::class,
4441
],
45-
ThreadWasCreated::class => [
46-
SendNewThreadNotification::class,
47-
PostNewThreadNotification::class,
48-
],
4942
ArticleWasSubmittedForApproval::class => [
5043
SendNewArticleNotification::class,
5144
],

0 commit comments

Comments
 (0)