You are here

date_popup_timepicker.install in Date Popup Timepicker 7

Installation hooks and helper functions.

File

date_popup_timepicker.install
View source
<?php

/**
 * @file
 * Installation hooks and helper functions.
 */

/**
 * Implements hook_uninstall().
 */
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');
  }
}

Functions