locale_update_6002

Versions
6
locale_update_6002()

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

Related topics

Code

modules/locale/locale.install, line 132

<?php
function locale_update_6002() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {locales_target} WHERE translation = ''");
  return $ret;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.