You are here

function spam_update_6003 in Spam 6

Drop unused fields/tables

File

./spam.install, line 173
Defines Spam module schema.

Code

function spam_update_6003() {
  $ret = array();
  db_drop_table($ret, 'spam_filters_groups');
  db_drop_table($ret, 'spam_filters_groups_data');
  db_drop_index($ret, 'spam_filters', 'gid');
  db_drop_field($ret, 'spam_filters', 'gid');
  return $ret;
}