From 4f31fb5dc8668ad940939a8a03f7457f51dd7d80 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 17 Nov 2022 07:46:00 +0000 Subject: [PATCH] feat: linter --- app/controllers/api/storage.php | 1 - app/init.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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