Update AvatarPipeline

This commit is contained in:
Daniel Supernault 2019-01-12 15:24:20 -07:00
parent 8c0119e69d
commit 7316ee38c4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 14 additions and 0 deletions

View file

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

View file

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