function nodeformsettings_uninstall in Node and Comments Form Settings 6.2
Same name and namespace in other branches
- 6.3 nodeformsettings.install \nodeformsettings_uninstall()
- 6 nodeformsettings.install \nodeformsettings_uninstall()
- 7.3 nodeformsettings.install \nodeformsettings_uninstall()
- 7.2 nodeformsettings.install \nodeformsettings_uninstall()
Implementation of hook_uninstall(). Remove the variables this module created.
File
- ./
nodeformsettings.install, line 18
Code
function nodeformsettings_uninstall() {
// remove all variables we created
$variables = db_query("SELECT name FROM {variable} WHERE name LIKE 'nodeformsettings%%'");
while ($variable = db_fetch_object($variables)) {
variable_del($variable->name);
}
update_sql("DELETE FROM {system} WHERE name like '%nodeformsettings'");
}