You are here

function date_popup_timepicker_uninstall in Date Popup Timepicker 7

Implements hook_uninstall().

File

./date_popup_timepicker.install, line 11
Installation hooks and helper functions.

Code

function date_popup_timepicker_uninstall() {

  // Switch date_popup_timepicker variable to default state
  // in case module's timepicker was used.
  if (variable_get('date_popup_timepicker') === 'timepicker') {
    variable_del('date_popup_timepicker');
  }
}