Currently when the module is uninstalled it deletes all records from the {variable} that start with either "panelizer_defaults_" or "panelizer_node:". This isn't particularly good, it should properly identify the list of variables that could be present and properly run variable_del() on them.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | panelizer-n2190839-5.patch | 1.61 KB | damienmckenna |
Comments
Comment #1
annya commentedI think we can't get all variables, because they depends on panelizer plugins. We can't get panelizer plugins on the stage of panelizer's uninstall, because module has been already disabled. So we have to do direct queries. Please see patch, that delete all variables of panelizer.
Comment #3
damienmckennaUpdated to delete all variables based on the installed entities.
Comment #5
damienmckennaDoh.
Comment #6
damienmckennaCommitted.
Comment #7
damienmckenna