mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/avatars] Use new avatar types in database updater
PHPBB3-10018
This commit is contained in:
parent
ce44e3908e
commit
7945ffa2a1
1 changed files with 3 additions and 3 deletions
|
@ -2714,9 +2714,9 @@ function change_database_data(&$no_updates, $version)
|
|||
|
||||
// Update avatars to modular types
|
||||
$avatar_type_map = array(
|
||||
AVATAR_UPLOAD => 'upload',
|
||||
AVATAR_GALLERY => 'local',
|
||||
AVATAR_REMOTE => 'remote',
|
||||
AVATAR_UPLOAD => 'avatar.driver.upload',
|
||||
AVATAR_GALLERY => 'avatar.driver.local',
|
||||
AVATAR_REMOTE => 'avatar.driver.remote',
|
||||
);
|
||||
|
||||
foreach ($avatar_type_map as $old => $new)
|
||||
|
|
Loading…
Add table
Reference in a new issue