You are here

function phone_update_6201 in Phone 6

Fixing update : update UK phone fields

File

./phone.install, line 91
Defines phone number fields for CCK. Installation file

Code

function phone_update_6201() {
  $ret = array();
  $ret[] = update_sql("UPDATE {content_node_field} SET type = 'gb_phone' WHERE type = 'uk_phone'");
  drupal_set_message("Phone fields have been updated.");
  return $ret;
}