function commons_profile_install in Drupal Commons 6.2
Implementation of hook_install()
File
- modules/
features/ commons_profile/ commons_profile.install, line 6
Code
function commons_profile_install() {
// Weight the module to ensure hooks fire towards the end
db_query("UPDATE {system} SET weight = %d WHERE name = 'commons_profile'", 15);
// Build the profile fields
_commons_profile_build_profile_fields();
}