function og_update_9 in Organic groups 5.8
Same name and namespace in other branches
- 5 og.install \og_update_9()
- 5.2 og.install \og_update_9()
- 5.3 og.install \og_update_9()
- 5.7 og.install \og_update_9()
File
- ./
og.install, line 250
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();
}