From 7829ac09b37de396c26ea2fcb9a07ee09c63e7a1 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 17 Jun 2021 13:36:29 +0545 Subject: [PATCH] prevent adapter update --- app/controllers/api/storage.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index f42d37d3f4..d9817b3850 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -154,7 +154,6 @@ App::put('/v1/storage/buckets/:bucketId') ->param('maximumFileSize', 0, new Integer(), 'Maximum file size allowed.', true) ->param('allowedFileExtensions', ['*'], new ArrayList(new Text(64)), 'Allowed file extensions', true) ->param('enabled', true, new Boolean(), 'Is bucket enabled?', true) - ->param('adapter', 'local', new WhiteList(['local']), 'Storage adapter.', true) ->param('encryption', true, new Boolean(), 'Is encryption enabled?', true) ->param('antiVirus', true, new Boolean(), 'Is virus scanning enabled?', true) ->inject('response') @@ -181,7 +180,6 @@ App::put('/v1/storage/buckets/:bucketId') ->setAttribute('maximumFileSize',$maximumFileSize) ->setAttribute('allowedFileExtensions',$allowedFileExtensions) ->setAttribute('enabled',$enabled) - ->setAttribute('adapter',$adapter) ->setAttribute('encryption',$encryption) ->setAttribute('antiVirus',$antiVirus) );