Update CommentPipeline

This commit is contained in:
Daniel Supernault 2019-01-12 15:23:22 -07:00
parent 52bbe0061a
commit 8c0119e69d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@ class CommentPipeline implements ShouldQueue
protected $status; protected $status;
protected $comment; protected $comment;
/**
* Delete the job if its models no longer exist.
*
* @var bool
*/
public $deleteWhenMissingModels = true;
/** /**
* Create a new job instance. * Create a new job instance.
* *