You are here

function better_watchdog_ui_uninstall in Better Watchdog UI 7

Same name and namespace in other branches
  1. 8 better_watchdog_ui.install \better_watchdog_ui_uninstall()
  2. 7.3 better_watchdog_ui.install \better_watchdog_ui_uninstall()
  3. 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();
  }
}