logger moved to App::shutdown
This commit is contained in:
parent
6437ba8c6a
commit
0249966741
1 changed files with 0 additions and 6 deletions
|
@ -36,7 +36,6 @@ class DeletesV1 extends Worker
|
|||
|
||||
public function run(): void
|
||||
{
|
||||
|
||||
$project = new Document($this->args['project'] ?? []);
|
||||
$type = $this->args['type'] ?? '';
|
||||
|
||||
|
@ -647,13 +646,8 @@ class DeletesV1 extends Worker
|
|||
protected function deleteBucket(Document $document, string $projectId)
|
||||
{
|
||||
$dbForProject = $this->getProjectDB($projectId);
|
||||
|
||||
$dbForProject->deleteCollection('bucket_' . $document->getInternalId());
|
||||
$device = $this->getDevice(APP_STORAGE_UPLOADS . '/app-' . $projectId);
|
||||
$device->deletePath($document->getId());
|
||||
|
||||
$dbForProject->deleteCollection('bucket_' . $document->getInternalId() . '_video_renditions');
|
||||
$device = $this->getDevice(APP_STORAGE_VIDEO . '/app-' . $projectId);
|
||||
$device = $this->getDevice(APP_STORAGE_UPLOADS . '/app-' . $projectId);
|
||||
|
||||
$device->deletePath($document->getId());
|
||||
|
|
Loading…
Reference in a new issue