@@ -9,6 +9,13 @@ use App\Services\AccountService;
class AvatarObserver
{
+ /**
+ * Handle events after all transactions are committed.
+ *
+ * @var bool
+ */
+ public $afterCommit = true;
+
/**
* Handle the avatar "created" event.
*
@@ -7,6 +7,13 @@ use App\Services\LikeService;
class LikeObserver
* Handle the Like "created" event.
@@ -9,6 +9,13 @@ use Log;
class ModLogObserver
* Handle the mod log "created" event.
@@ -7,6 +7,13 @@ use App\Services\NotificationService;
class NotificationObserver
* Handle the notification "created" event.
@@ -7,6 +7,13 @@ use App\Services\AccountService;
class ProfileObserver
* Handle the Profile "created" event.
@@ -7,6 +7,13 @@ use App\Services\StatusHashtagService;
class StatusHashtagObserver
@@ -7,6 +7,13 @@ use App\Services\UserFilterService;
class UserFilterObserver
* Handle the user filter "created" event.