Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
Functions
upgradelib.php File Reference

Contains upgrade and install functions for the social profile fields. More...

Functions

 user_profile_social_create_info_category ()
 Create the default category for custom profile fields if it does not exist yet. More...
 
 user_profile_social_create_profilefield ($social)
 Create an new custom social profile field if it does not exist. More...
 
 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. More...
 
 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. More...
 
 user_profile_social_update_module_availability ()
 Update the module availability configuration for all course modules. More...
 

Detailed Description

Contains upgrade and install functions for the social profile fields.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later