DEV: Remove old enable_experimental_composer_uploader site setting (#15406)

No longer used, the uppy method is now the default for
composer uploads and the old code is deleted.
This commit is contained in:
Martin Brennan 2021-12-24 14:27:25 +10:00 committed by GitHub
parent 557add5923
commit a263743268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View File

@ -267,12 +267,6 @@ basic:
client: true
default: true
hidden: true
# TODO (martin) (2022-02-01) Remove this setting once plugins relying on
# it have been changed.
enable_experimental_composer_uploader:
client: true
default: false
hidden: true
enable_direct_s3_uploads:
client: true
default: false

View File

@ -0,0 +1,11 @@
# frozen_string_literal: true
class DeleteExperimentalComposerUploadSetting < ActiveRecord::Migration[6.1]
def up
execute "DELETE FROM site_settings WHERE name = 'enable_experimental_composer_uploader'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end