MDL-28452 core_user: migrate social profile fieldsf9e1c2587a520ed486a169a3584b9e556bfa1e58
commitf9e1c2587a520ed486a169a3584b9e556bfa1e58
authorBas Brands <bas@moodle.com>
Tue, 17 Nov 2020 18:43:49 +0000 (17 19:43 +0100)
committerBas Brands <bas@moodle.com>
Wed, 21 Apr 2021 09:22:25 +0000 (21 11:22 +0200)
treeb826229149e9596cc871b1220b205abfd25f7644
parent0fd37bf5d8d7e9741f698dd5cb9019717117a7fa
MDL-28452 core_user: migrate social profile fields

Create a new profile field type, move all existing content of the fields
'icq', 'skype', 'aim', 'yahoo', 'msn' and 'url' in the mdl_user table to
theses new profile fields if needed.

AMOS BEGIN
MOV [aimid,core],[aimid,courseimage,profilefield_social]
MOV [yahooid,core],[yahooid,profilefield_social]
MOV [skypeid,core],[skypeid,profilefield_social]
MOV [icqnumber,core],[icqnumber,profilefield_social]
MOV [msnid,core],[msnid,profilefield_social]
MOV [webpage,core],[webpage,profilefield_social]
AMOS END
54 files changed:
admin/auth_config.php
admin/settings/users.php
admin/tool/uploaduser/classes/process.php
admin/tool/uploaduser/user_form.php
admin/user/user_bulk_download.php
auth/mnet/classes/privacy/provider.php
auth/mnet/lang/en/auth_mnet.php
auth/oauth2/classes/api.php
availability/condition/profile/classes/frontend.php
backup/moodle2/backup_stepslib.php
backup/util/helper/backup_anonymizer_helper.class.php
badges/criteria/award_criteria_profile.php
badges/tests/badgeslib_test.php
blocks/myprofile/classes/output/myprofile.php
blocks/myprofile/edit_form.php
blocks/myprofile/lang/en/block_myprofile.php
blocks/myprofile/templates/myprofile.mustache
blocks/myprofile/tests/behat/block_myprofile.feature
enrol/externallib.php
lang/en/deprecated.txt
lang/en/moodle.php
lib/authlib.php
lib/classes/oauth2/api.php
lib/classes/oauth2/discovery/openidconnect.php
lib/classes/oauth2/service/facebook.php
lib/classes/user.php
lib/db/install.xml
lib/db/upgrade.php
lib/moodlelib.php
lib/myprofilelib.php
lib/tests/datalib_test.php
lib/tests/myprofilelib_test.php
mod/forum/classes/task/send_user_notifications.php
mod/forum/deprecatedlib.php
mod/url/locallib.php
user/classes/analytics/indicator/user_profile_set.php
user/classes/privacy/provider.php
user/editlib.php
user/externallib.php
user/lib.php
user/profile/field/social/classes/helper.php [new file with mode: 0644]
user/profile/field/social/classes/privacy/provider.php [new file with mode: 0644]
user/profile/field/social/define.class.php [new file with mode: 0644]
user/profile/field/social/field.class.php [new file with mode: 0644]
user/profile/field/social/lang/en/profilefield_social.php [new file with mode: 0644]
user/profile/field/social/tests/privacy_test.php [new file with mode: 0644]
user/profile/field/social/upgradelib.php [new file with mode: 0644]
user/profile/field/social/version.php [new file with mode: 0644]
user/profile/index.php
user/profile/lib.php
user/tests/externallib_test.php
user/tests/privacy_test.php
user/tests/userlib_test.php
version.php