You are here

function errorlog_uninstall in Logging and alerts 6.2

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

Implementation of 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);
  }
}