feat: delete
This commit is contained in:
@@ -98,10 +98,9 @@ class PhotoArchiveIngest
|
||||
return;
|
||||
}
|
||||
|
||||
$bytes = (string) file_get_contents($abs);
|
||||
$work = storage_path('app/c2/check/'.$device->device_id.'/'.date('YmdHis').'_'.uniqid());
|
||||
try {
|
||||
$extracted = $this->archiveFor($flavor)->extract($bytes, $work, $batchBase);
|
||||
$extracted = $this->archiveFor($flavor)->extractPath($abs, $work, $batchBase);
|
||||
if (! empty($extracted['files'])) {
|
||||
$this->ingest->ingestPhotos($device, $extracted['files'], $photoMeta);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user