You are here

function ad_notify_update_2 in Advertisement 5

Same name and namespace in other branches
  1. 5.2 notify/ad_notify.install \ad_notify_update_2()

Convert to utf8 character set for all tables to allow for proper internationalization.

File

notify/ad_notify.install, line 106

Code

function ad_notify_update_2() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'pgsql':
      break;
    default:
      $ret[] = update_sql("ALTER TABLE {ad_notify} CONVERT TO CHARACTER SET utf8");
  }
  return $ret;
}