From 0baad49d620d9988837287cb5942eea764d3ed6f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 2 Dec 2009 19:26:23 +0000 Subject: - Patch #635094 by plach: unify 'language neutral' language codes. --- modules/system/system.install | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 2b9af7a18..8bd1dcce8 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2812,6 +2812,16 @@ function system_update_7047() { variable_set('site_frontpage', drupal_get_normal_path(variable_get('site_frontpage', 'node'))); } +/** + * Convert path languages from the empty string to LANGUAGE_NONE. + */ +function system_update_7048() { + db_update('url_alias') + ->fields(array('language' => LANGUAGE_NONE)) + ->condition('language', '') + ->execute(); +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. -- cgit v1.2.3