function better_watchdog_ui_uninstall in Better Watchdog UI 8
Same name and namespace in other branches
- 7.3 better_watchdog_ui.install \better_watchdog_ui_uninstall()
- 7 better_watchdog_ui.install \better_watchdog_ui_uninstall()
- 7.2 better_watchdog_ui.install \better_watchdog_ui_uninstall()
Implements hook_uninstall().
File
- ./
better_watchdog_ui.install, line 70 - Installation and update functions.
Code
function better_watchdog_ui_uninstall() {
// Delete watchdog view.
$view = views_get_view('better_watchdog_ui_view');
if ($view) {
$view
->delete();
}
}