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
This commit is contained in:
@@ -142,9 +142,8 @@ class process {
|
||||
$this->standardfields = array('id', 'username', 'email', 'emailstop',
|
||||
'city', 'country', 'lang', 'timezone', 'mailformat',
|
||||
'maildisplay', 'maildigest', 'htmleditor', 'autosubscribe',
|
||||
'institution', 'department', 'idnumber', 'skype',
|
||||
'msn', 'aim', 'yahoo', 'icq', 'phone1', 'phone2', 'address',
|
||||
'url', 'description', 'descriptionformat', 'password',
|
||||
'institution', 'department', 'idnumber', 'phone1', 'phone2', 'address',
|
||||
'description', 'descriptionformat', 'password',
|
||||
'auth', // Watch out when changing auth type or using external auth plugins!
|
||||
'oldusername', // Use when renaming users - this is the original username.
|
||||
'suspended', // 1 means suspend user account, 0 means activate user account, nothing means keep as is.
|
||||
|
||||
Reference in New Issue
Block a user