function i18ncontent_update_6002 in Internationalization 6
Locale refresh, this will run successfully only after the i18nstrings update has run
File
- i18ncontent/
i18ncontent.install, line 54 - Installation file for i18ncontent module.
Code
function i18ncontent_update_6002() {
$ret = array();
$version = (int) drupal_get_installed_schema_version('i18nstrings');
if ($version > 6002) {
drupal_load('module', 'i18ncontent');
drupal_load('module', 'i18nstrings');
i18ncontent_locale_refresh();
}
else {
drupal_set_message('The i18ncontent update 6002 needs to run after i18nstrings update 6003. Re-run update.php.', 'warning');
$ret['#abort'] = TRUE;
}
return $ret;
}