mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15276] Change adapter to provider in config_name
PHPBB3-15276
This commit is contained in:
parent
89f4e12f85
commit
286b1bbe33
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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')),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue