You are here

function messaging_update_6012 in Messaging 6.4

Fix template_parts table, may be missing new field depending on update path

File

./messaging.install, line 402

Code

function messaging_update_6012() {
  $ret = array();
  if (db_table_exists('messaging_message_parts') && !db_column_exists('messaging_message_parts', 'language')) {
    module_load_install('messaging_template');
    $ret = messaging_template_update_6001();
  }
  return $ret;
}