You are here

emaillog.install in Logging and alerts 6.2

Install, update and uninstall functions for the emaillog module.

File

emaillog/emaillog.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the emaillog module.
 */

/**
 * Implementation of hook_uninstall().
 * Deletes all emaillog variables and clears variable cache.
 */
function emaillog_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'emaillog_%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
emaillog_uninstall Implementation of hook_uninstall(). Deletes all emaillog variables and clears variable cache.