1
0
Fork 0
mirror of synced 2024-10-03 10:46:27 +13:00

Merge branch 'feat-sb-uis' into feat-s3-integration

This commit is contained in:
Damodar Lohani 2021-11-19 15:58:56 +05:45
commit 5bf53f6db5

View file

@ -410,7 +410,7 @@ class DeletesV1 extends Worker
$this->deleteByGroup('files',[
new Query('bucketId', Query::TYPE_EQUAL, [$bucketId])
], $this->getInternalDB($projectId));
], $this->getExternalDB($projectId));
$device = new Local(APP_STORAGE_UPLOADS.'/app-'.$projectId);
$device->deletePath($device->getRoot() . DIRECTORY_SEPARATOR . $bucketId);