Skip to content

Commit 3d9ae6e

Browse files
authored
Merge pull request #3479 from codeeu/revert-3478-week_10_feb
Revert "qc edits"
2 parents dc125e8 + 8b1d0e7 commit 3d9ae6e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/Nova/Actions/BulkUploadMediaFiles.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,8 @@ protected function storeFile(UploadedFile|string $file, string $destination, str
210210
$stored = Storage::disk('resources')->put($targetPath, $contents, 'public');
211211
}
212212

213-
// Clean only this temp file. Deleting the whole directory can remove
214-
// sibling files from the same multi-upload batch.
215-
$data->deleteFile();
213+
// Clean temporary Filepond directory.
214+
$data->deleteDirectory();
216215

217216
return $stored ? $targetPath : null;
218217
}

0 commit comments

Comments
 (0)