Follow Forum Module install/enable/uninstall pattern by implementing hook_uninstall to delete the field & instance (otherwise module throws a Fatal when re-enabled after an uninstall as the field is not deleted upon uninstall).

Not sure the field_purge_batch is required but added it as a luxury.

CommentFileSizeAuthor
fix-install-uninstall.patch860 bytesjpstrikesback

Comments

dwkitchen’s picture

Status: Needs review » Fixed

Thanks

jpstrikesback’s picture

Status: Fixed » Needs review

Hey @dwkitchen, there doesn't seem to be a commit for this, did you miss that or is one on the way? :)

Cheers,
JP

dwkitchen’s picture

Status: Needs review » Fixed
jpstrikesback’s picture

Cheers!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.