You are here

function spamicide_uninstall in Spamicide 5

Same name and namespace in other branches
  1. 6 spamicide.install \spamicide_uninstall()
  2. 7 spamicide.install \spamicide_uninstall()

File

./spamicide.install, line 113
This module provides yet another tool to eliminate spam.

Code

function spamicide_uninstall() {
  db_query("DROP TABLE {spamicide}");
  db_query("DELETE FROM {variable} WHERE name LIKE 'spamicide_%'");
  cache_clear_all('variables', 'cache');
}