You are here

htmlmail.install in HTML Mail 6

Installation for HTML Mail

File

htmlmail.install
View source
<?php

/**
 * @file
 * Installation for HTML Mail
 */

/**
 * Implementation of hook_uninstall().
 */
function htmlmail_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'htmlmail_%'");
  cache_clear_all('variables', 'cache');
}

/**
 * Remove feature for storing queries. Cleanup deprecated tables and variables.
 */
function htmlmail_update_6001() {
  $results = array();
  $results[] = update_sql("UPDATE {system} SET weight = 1 WHERE name = 'htmlmail'");
  return $results;
}

Functions

Namesort descending Description
htmlmail_uninstall Implementation of hook_uninstall().
htmlmail_update_6001 Remove feature for storing queries. Cleanup deprecated tables and variables.