From a9e4589e367db44c04df7bcc821ee56416609659 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 12 Jan 2019 15:20:54 -0700 Subject: [PATCH] Update InstagramImportPipeline --- app/Jobs/ImportPipeline/ImportInstagram.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Jobs/ImportPipeline/ImportInstagram.php b/app/Jobs/ImportPipeline/ImportInstagram.php index d374fcc95..57b1b5fce 100644 --- a/app/Jobs/ImportPipeline/ImportInstagram.php +++ b/app/Jobs/ImportPipeline/ImportInstagram.php @@ -25,7 +25,14 @@ class ImportInstagram implements ShouldQueue use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; protected $job; - + + /** + * Delete the job if its models no longer exist. + * + * @var bool + */ + public $deleteWhenMissingModels = true; + /** * Create a new job instance. *