Ensure our jobs are storing objects without relations

This commit is contained in:
2024-11-03 00:16:48 +11:00
parent 3b7ce4b9ce
commit f03533b62a
7 changed files with 8 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ class FileareaImport implements ShouldQueue
public function __construct(string $file,Domain $do,string $prefix='',bool $delete_recs=FALSE,bool $delete_file=FALSE)
{
$this->file = $file;
$this->do = $do;
$this->do = $do->withoutRelations();
$this->prefix = $prefix ?: '';
$this->delete_file = $delete_file;
$this->delete_recs = $delete_recs;