Hi,You shouldn't remove the taxonomy on uninstall, as people may be using the taxonomy you created for another purpose, and what you originally intended. Just on the uninstall let the user know that they should be deleted.If your module defines the content type Drupal will handle the fact that the definition is missing, and the admin can clean up all the nodes, and other definitions.Gordon.
Good points from you and everyone else. On a tangent to this example, I
think about the "completely uninstall" and "lose all data" messages, and
that apparently the accepted way of doing it leaves many footprints.
Sort of like when I have Windows remove an app and yet there are files
and registry entries left all over the place, though in that case I
don't think its by design. I don't know if this is also the case in D7,
but if so, it might be fodder for a Cleanup module that accepts
registration of all a module's pieces and then offers the user a choice
between a 'standard' uninstall and a truly full one.
- [development] D6 Cleaning up on module uninstall jeff
- Re: [development] D6 Cleaning up on module uninstall John Fiala
- Re: [development] D6 Cleaning up on module uninstall Jamie Holly
- Re: [development] D6 Cleaning up on module uninstall Dave Reid
- Re: [development] D6 Cleaning up on module uninstal... jeff
- Re: [development] D6 Cleaning up on module unin... Gordon Heydon
- Re: [development] D6 Cleaning up on module ... jeff
- Re: [development] D6 Cleaning up on module ... nan wich