function content_profile_update_6002 in Content Profile 6
Make the profile type to be "custom", so it can be deleted.
File
- ./
content_profile.install, line 96 - Content profile installation file.
Code
function content_profile_update_6002() {
$ret = array();
if (($type = node_get_types('type', 'profile')) && !$type->custom) {
$type->custom = TRUE;
node_type_save($type);
}
return $ret;
}