You are here

emaillog.install in Logging and alerts 7.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.
 */

/**
 * Implements 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 Implements hook_uninstall(). Deletes all emaillog variables and clears variable cache.