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) );