You are here

function clock_update_7100 in Clock 7

Same name and namespace in other branches
  1. 7.2 clock.install \clock_update_7100()

Remove legacy variables from the database.

File

./clock.install, line 21
Install, update and uninstall functions for the clock module.

Code

function clock_update_7100(&$sandbox) {
  variable_del('clock_timezone_type');
  variable_del('clock_custom_timezone');
  variable_del('clock_date_format_type');
  variable_del('clock_custom_date_format');
  variable_del('clock_js');
  return 'Legacy variables removed.';
}