Adding the following lines at the end of .install file will allow the module to be properly uninstalled

/**
* Implementation of hook_uninstall().
*/
function addressbook_uninstall() {
db_query('DROP TABLE {addressbook_family}');
db_query('DROP TABLE {addressbook_member}');
db_query('DROP TABLE {addressbook_picture}');
}

Comments

wplaat’s picture

Hi,

Thank you for the hint. I will add the code in the next release.

Willem

wplaat’s picture

Assigned: Unassigned » wplaat
Status: Active » Closed (fixed)

Added uninstall sql section to addressbook database install file.