diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index b28d39a494..fbe36bee05 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -287,7 +287,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('exts_composer_json INSERT INTO phpbb_config (config_name, config_value) VALUES ('exts_composer_vendor_dir', 'vendor-ext/'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('exts_composer_enable_on_install', '0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('exts_composer_purge_on_remove', '1'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('storage\avatar\adapter', 'phpbb\storage\provider\local'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('storage\avatar\provider', 'phpbb\storage\provider\local'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('storage\avatar\config\path', 'images/avatars/upload'); INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('cache_last_gc', '0', 1); diff --git a/phpBB/phpbb/db/migration/data/v330/storage_avatar.php b/phpBB/phpbb/db/migration/data/v330/storage_avatar.php index 3d415ee558..077904daa6 100644 --- a/phpBB/phpbb/db/migration/data/v330/storage_avatar.php +++ b/phpBB/phpbb/db/migration/data/v330/storage_avatar.php @@ -18,7 +18,7 @@ class storage_avatar extends \phpbb\db\migration\migration public function update_data() { return array( - array('config.add', array('storage\\avatar\\adapter', \phpbb\storage\provider\local::class)), + array('config.add', array('storage\\avatar\\provider', \phpbb\storage\provider\local::class)), array('config.add', array('storage\\avatar\\config\\path', $this->config['avatar_path'])), array('config.remove', array('avatar_path')), );