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

brdwor’s picture

Assigned: Unassigned » brdwor

Will commit this change later today if there are no objections.

brdwor’s picture

Status: Active » Fixed

committed

Anonymous’s picture

Status: Fixed » Closed (fixed)