Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
upgradelib.php File Reference

Functions

 user_profile_social_create_info_category ()
 Create the default category for custom profile fields if it does not exist yet.
 
 user_profile_social_create_profilefield ($social)
 Create an new custom social profile field if it does not exist.
 
 user_profile_social_moveto_profilefield ($social)
 Called on upgrade to create new profile fields based on the old user table columns for icq, msn, aim, skype and url.
 
 user_profile_social_update_availability_structure (&$structure)
 Loop through the availability info and change all move standard profile fields for icq, skype, aim, yahoo, msn and url to be custom profile fields.
 
 user_profile_social_update_module_availability ()
 Update the module availability configuration for all course modules.