You are here

function errorlog_uninstall in Logging and alerts 7

Same name and namespace in other branches
  1. 8 errorlog/errorlog.install \errorlog_uninstall()
  2. 6.2 errorlog/errorlog.install \errorlog_uninstall()
  3. 6 errorlog/errorlog.install \errorlog_uninstall()
  4. 7.2 errorlog/errorlog.install \errorlog_uninstall()
  5. 2.0.x errorlog/errorlog.install \errorlog_uninstall()

Implements hook_uninstall().

File

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

Code

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