Closed (fixed)
Project:
Metatag
Version:
7.x-1.0-alpha8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 04:10 UTC
Updated:
15 Oct 2012 at 21:12 UTC
Hey all,
I've built a module that extends Meta Tag to add AGLS metadata (Reference) (Module).
The module is working properly but unfortunately I cannot implement an uninstall hook because the config data in metadata_config table stores the data in a serialized blob.
Any ideas in how to implement this hook?
Comments
Comment #1
damienmckennaYou'd have to do something like this (untested):
Comment #2
damienmckennaComment #3
dave reidI would not recommend that you implement an uninstall hook and just allow the data to be "left alone" until the Meta tag module is installed. As long as the module that was responsible for the specific meta tag is not enabled, then that meta tag data should not be displayed, processed, or have anything done with it and the next time config or individual meta tags would be saved, that data will be removed.
Comment #4
rubenspeculis commentedThanks all :-)
Comment #6
damienmckennaFYI due to a bug in the module you'll run into this error as soon as you disable the custom module: #1284794: Error metatag_get_instance() after uninstalling metatag_opengraph