function errorlog_uninstall in Logging and alerts 7
Same name and namespace in other branches
- 8 errorlog/errorlog.install \errorlog_uninstall()
- 6.2 errorlog/errorlog.install \errorlog_uninstall()
- 6 errorlog/errorlog.install \errorlog_uninstall()
- 7.2 errorlog/errorlog.install \errorlog_uninstall()
- 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);
}
}