mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update StatusObserver, handle events after all transactions are committed
This commit is contained in:
parent
08ab19f0ea
commit
805a014e38
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ use App\Services\ProfileStatusService;
|
||||||
|
|
||||||
class StatusObserver
|
class StatusObserver
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Handle events after all transactions are committed.
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
public $afterCommit = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle the Status "created" event.
|
* Handle the Status "created" event.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue