function l10n_update_update_6001 in Localization update 7
Same name and namespace in other branches
- 6 l10n_update.install \l10n_update_update_6001()
Add status field to locales_target.
File
- ./
l10n_update.install, line 240 - Install file for l10n remote updates.
Code
function l10n_update_update_6001() {
if (!db_field_exists('locales_target', 'l10n_status')) {
db_add_field('locales_target', 'l10n_status', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
}
return t('Added l10n_status field to locales_target.');
}