fb_uninstall() in fb.install ...
function fb_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'fb_%'");
}The fb_social module stores all settings as "fb_xxxx" as well. Would be better if DFF explicity deleted each item in variable table instead of relying on wildcard.
Comments
Comment #1
dave reidI've always been strongly against mass-variable delete statements like this. Best practice is to follow core and call variable_del() on each variable.
Comment #2
Dave Cohen commentedJust removed that code. Now deletes each variable explicitly.