kopia lustrzana https://github.com/pixelfed/pixelfed
Update StatusObserver, handle events after all transactions are committed
rodzic
08ab19f0ea
commit
805a014e38
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Ładowanie…
Reference in New Issue