mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/avatars] Use new avatar types in database updater
PHPBB3-10018
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user