system_update_137
- Versions
- 4.7 – 5
system_update_137()
Code
modules/system/system.install, line 1674
<?php
function system_update_137() {
$ret = array();
if (!variable_get('update_137_done', FALSE)) {
if ($GLOBALS['db_type'] == 'mysql') {
$ret[] = update_sql("ALTER TABLE {locales_source} CHANGE location location varchar(255) NOT NULL default ''");
}
elseif ($GLOBALS['db_type'] == 'pgsql') {
db_change_column($ret, 'locales_source', 'location', 'location', 'varchar(255)', array('not null' => TRUE, 'default' => "''"));
}
variable_del('update_137_done');
}
return $ret;
}
?>Login or register to post comments 