You are here

function emaillog_uninstall in Logging and alerts 7

Same name and namespace in other branches
  1. 6.2 emaillog/emaillog.install \emaillog_uninstall()
  2. 6 emaillog/emaillog.install \emaillog_uninstall()
  3. 7.2 emaillog/emaillog.install \emaillog_uninstall()

Implements hook_uninstall().

File

emaillog/emaillog.install, line 11
Install, update and uninstall functions for the emaillog module.

Code

function emaillog_uninstall() {
  $severities = array_keys(watchdog_severity_levels());
  foreach ($severities as $severity) {
    variable_del('emaillog_' . $severity);
  }
}