Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If there is a module named colorbox_extra
you will delete the other modules variables. Additional to this only variable delete will also remove the variable from the variable cache.
/**
* Implements hook_uninstall().
*/
function colorbox_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'colorbox_%'");
}
Please uninstall variables with variable_del()
only.
Comments
Comment #0.0
hass CreditAttribution: hass commenteda
Comment #0.1
hass CreditAttribution: hass commenteda
Comment #1
frjo CreditAttribution: frjo commented