You are here

function htmlmail_uninstall in HTML Mail 7

Same name and namespace in other branches
  1. 8.3 htmlmail.install \htmlmail_uninstall()
  2. 8 htmlmail.install \htmlmail_uninstall()
  3. 8.2 htmlmail.install \htmlmail_uninstall()
  4. 5 htmlmail.install \htmlmail_uninstall()
  5. 6.2 htmlmail.install \htmlmail_uninstall()
  6. 6 htmlmail.install \htmlmail_uninstall()
  7. 7.2 htmlmail.install \htmlmail_uninstall()

Implements hook_uninstall().

File

./htmlmail.install, line 32
Installation for HTML Mail module.

Code

function htmlmail_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'htmlmail_%'");
  cache_clear_all('variables', 'cache');
}