You are here

function biblio_bibtex_uninstall in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/bibtexParse/biblio_bibtex.install \biblio_bibtex_uninstall()
  2. 7.2 modules/bibtexParse/biblio_bibtex.install \biblio_bibtex_uninstall()

File

modules/bibtexParse/biblio_bibtex.install, line 39
Database table creation for biblio_bibtex module.

Code

function biblio_bibtex_uninstall() {
  drupal_uninstall_schema('biblio_bibtex');
  if (db_table_exists('biblio_type_maps')) {
    db_query("DELETE FROM {biblio_type_maps} WHERE format = 'bibtex'");
  }
}