diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 8dbdcb28c6..8937beb851 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -494,7 +494,6 @@ App::post('/v1/storage/buckets/:bucketId/files') } if ($chunksUploaded === $chunks) { - $connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); $device = STORAGE_DEVICE_LOCAL; try { diff --git a/app/init.php b/app/init.php index 305f1009d3..8768103e84 100644 --- a/app/init.php +++ b/app/init.php @@ -164,7 +164,7 @@ const COMPRESSION_TYPE_ZSTD = 'zstd'; const STORAGE_DEVICE_LOCAL = 'file'; const STORAGE_DEVICE_S3 = 's3'; const STORAGE_DEVICE_DO_SPACES = 'dospaces'; -const STORAGE_DEVICE_BACKBLAZE= 'backblaze'; +const STORAGE_DEVICE_BACKBLAZE = 'backblaze'; const STORAGE_DEVICE_LINODE = 'linode'; const STORAGE_DEVICE_WASABI = 'wasabi'; // Mail Types