Adding the following lines at the end of .install file will allow the module to be properly desinstalled
/**
* Implementation of hook_uninstall().
*/
function recipe_uninstall() {
if (db_table_exists("recipe")) {db_query("DROP TABLE {recipe}");}
if (db_table_exists("recipe_node_ingredient")) {db_query("DROP TABLE {recipe_node_ingredient}");}
if (db_table_exists("recipe_ingredient")) {db_query("DROP TABLE {recipe_ingredient}");}
if (db_table_exists("recipe_unit")) {db_query("DROP TABLE {recipe_unit}");}
}
Comments
Comment #1
brdwor commentedWill commit this change later today if there are no objections.
Comment #2
brdwor commentedcommitted
Comment #3
(not verified) commented