You are here

function date_api_update_7001 in Date 7.2

Same name and namespace in other branches
  1. 7.3 date_api/date_api.install \date_api_update_7001()

Drop D6 timezone_name field on {users} after upgrading to D7.

File

date_api/date_api.install, line 248
Install, update and uninstall functions for the date_api module.

Code

function date_api_update_7001() {
  if (db_field_exists('users', 'timezone_name')) {
    db_drop_field('users', 'timezone_name');
  }
}