function content_profile_enable in Content Profile 6
Implementation of hook_enable().
File
- ./
content_profile.install, line 10 - Content profile installation file.
Code
function content_profile_enable() {
//enable the default content type 'profile' to be a content profile
$setting = variable_get('content_profile_profile', FALSE);
if (!$setting && $setting !== array()) {
variable_set('content_profile_profile', array());
}
}