function locale_update_6003 in Drupal 6
Prune strings with no translations (will be automatically re-registered if still in use)
Related topics
File
- modules/locale/ locale.install, line 141 
Code
function locale_update_6003() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {locales_source} WHERE lid NOT IN (SELECT lid FROM {locales_target})");
  return $ret;
}