mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +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
|
// Update avatars to modular types
|
||||||
$avatar_type_map = array(
|
$avatar_type_map = array(
|
||||||
AVATAR_UPLOAD => 'upload',
|
AVATAR_UPLOAD => 'avatar.driver.upload',
|
||||||
AVATAR_GALLERY => 'local',
|
AVATAR_GALLERY => 'avatar.driver.local',
|
||||||
AVATAR_REMOTE => 'remote',
|
AVATAR_REMOTE => 'avatar.driver.remote',
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($avatar_type_map as $old => $new)
|
foreach ($avatar_type_map as $old => $new)
|
||||||
|
Reference in New Issue
Block a user