You are here

function i18nstrings_update_6002 in Internationalization 6

Add index to {locales_source}.

File

i18nstrings/i18nstrings.install, line 151
Installation file for i18nstrings module.

Code

function i18nstrings_update_6002() {
  $ret = array();
  if (!variable_get('i18nstrings_update_skip', 0)) {
    db_add_index($ret, 'locales_source', 'textgroup_location', array(
      array(
        'textgroup',
        30,
      ),
      'location',
    ));
  }
  return $ret;
}