Determine if an inbound file is a nodelist

This commit is contained in:
Deon George
2022-11-04 17:20:22 +11:00
parent edd41ad187
commit 2790381a30
6 changed files with 95 additions and 6 deletions

View File

@@ -41,5 +41,8 @@ class TicProcess implements ShouldQueue
Log::info(sprintf('%s:Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->fo->file,$to->fo->id));
unlink($this->file);
if ($to->isNodelist())
NodelistImport::dispatch($to->fo);
}
}