function tripal_core_uninstall
2.x tripal_core.install | tripal_core_uninstall() |
3.x tripal_core.install | tripal_core_uninstall() |
1.x tripal_core.install | tripal_core_uninstall() |
Implementation of hook_uninstall().
Related topics
File
- tripal_core/
tripal_core.install, line 55 - Contains functions used to install/uninstall tripal_core.
Code
function tripal_core_uninstall() {
// drop the foreign key between tripal_custom_tables and tripal_mviews
// so that Drupal can then drop the tables
db_query('
ALTER TABLE {tripal_custom_tables}
DROP CONSTRAINT tripal_custom_tables_fk1 CASCADE
');
}