My custom module creates a node type with a few CCK fields.
When the users un-installs, I need the CCK fields to be deleted so the old CCK occurances don't interfere with the new ones to be created should the module be re-installed.
I am trying the following code:
function mymodule_uninstall(){
content_field_instance_delete('field_ccktest', 'my-node-type', FALSE);
}
But the content_field_instance_delete cones back with a function not recognized.