function clock_update_7101 in Clock 7.2
Install the clock_settings table and remove legacy variables.
File
- ./
clock.install, line 76 - Install, update and uninstall functions for the clock module.
Code
function clock_update_7101(&$sandbox) {
drupal_install_schema('clock');
// Delete all clock variables.
variable_del('clock_time_zone');
variable_del('clock_date_type');
variable_del('clock_update');
return 'Clock settings table created.';
}