From c7af76af56eb357716781e6f5facaece25ba79c1 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 8 Feb 2016 12:03:40 +0000 Subject: [PATCH] Fix bad import of invite was claimed event. Fixes #1466 --- .../Handlers/Commands/Invite/ClaimInviteCommandHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Bus/Handlers/Commands/Invite/ClaimInviteCommandHandler.php b/app/Bus/Handlers/Commands/Invite/ClaimInviteCommandHandler.php index e731751dc..ba669a8ff 100644 --- a/app/Bus/Handlers/Commands/Invite/ClaimInviteCommandHandler.php +++ b/app/Bus/Handlers/Commands/Invite/ClaimInviteCommandHandler.php @@ -12,7 +12,7 @@ namespace CachetHQ\Cachet\Bus\Handlers\Commands\Invite; use CachetHQ\Cachet\Bus\Commands\Invite\ClaimInviteCommand; -use CachetHQ\Cachet\Bus\Events\Invite\InviteWasClaimed; +use CachetHQ\Cachet\Bus\Events\Invite\InviteWasClaimedEvent; use Carbon\Carbon; class ClaimInviteCommandHandler @@ -31,6 +31,6 @@ class ClaimInviteCommandHandler $invite->claimed_at = Carbon::now(); $invite->save(); - event(new InviteWasClaimed($invite)); + event(new InviteWasClaimedEvent($invite)); } }