function locale_update_6002

6.x locale.install locale_update_6002()

Remove empty translations, we don't need these anymore.

Related topics

File

drupal-6.x/modules/locale/locale.install, line 132

Code

function locale_update_6002() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {locales_target} WHERE translation = ''");
  return $ret;
}