You are here

function og_update_9 in Organic groups 5.7

Same name and namespace in other branches
  1. 5.8 og.install \og_update_9()
  2. 5 og.install \og_update_9()
  3. 5.2 og.install \og_update_9()
  4. 5.3 og.install \og_update_9()

File

./og.install, line 266

Code

function og_update_9() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
    case 'pgsql':
      $ret[] = update_sql("ALTER TABLE {og} ADD language varchar(12) NOT NULL default ''");
  }
  return $ret ? $ret : array();
}