You are here

function apachesolr_mlt_uninstall in Apache Solr Search 5

File

contrib/apachesolr_mlt/apachesolr_mlt.install, line 20

Code

function apachesolr_mlt_uninstall() {
  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      $pass = db_query("DROP TABLE {apachesolr_mlt}");
      break;
  }
  if ($pass) {
    drupal_set_message(t('Dropped the apachesolr_mlt table'));
  }
}