function locale_update_6002 in Drupal 6
Remove empty translations, we don't need these anymore.
Related topics
File
- modules/
locale/ locale.install, line 132
Code
function locale_update_6002() {
$ret = array();
$ret[] = update_sql("DELETE FROM {locales_target} WHERE translation = ''");
return $ret;
}