You are here

function bayesian_uninstall in Spam 5.3

Completely uninstall the spam module.

File

filters/bayesian/bayesian.install, line 49

Code

function bayesian_uninstall() {
  $tables = array(
    'bayesian_tokens',
  );
  foreach ($tables as $table) {
    db_query('DROP TABLE {' . $table . '}');
  }
  drupal_set_message(t('All bayesian module configuration data and tables have been deleted.'));
}