diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-30 01:05:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-30 01:05:24 +0000 |
commit | 35a08a6780f7113d793e6285fdd62edd7bdec602 (patch) | |
tree | 67b34f27ff4c2d56ab8a6eb70b82187e1fca6d9d /modules/system/system.install | |
parent | c1ea227f529512739f80f16b33969532f4218049 (diff) | |
download | brdo-35a08a6780f7113d793e6285fdd62edd7bdec602.tar.gz brdo-35a08a6780f7113d793e6285fdd62edd7bdec602.tar.bz2 |
- Patch #863318 by carlos8f, andypost, chx, Dave Reid, plach: wrong sort order of aliases for different languages.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 8a255ba82..01924300a 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1630,7 +1630,7 @@ function system_schema() { 'default' => '', ), 'language' => array( - 'description' => 'The language this alias is for; if blank, the alias will be used for unknown languages. Each Drupal path can have an alias for each supported language.', + 'description' => "The language this alias is for; if 'und', the alias will be used for unknown languages. Each Drupal path can have an alias for each supported language.", 'type' => 'varchar', 'length' => 12, 'not null' => TRUE, @@ -2951,6 +2951,20 @@ function system_update_7067() { } /** + * Update {url_alias}.language description. + */ +function system_update_7068() { + $spec = array( + 'description' => "The language this alias is for; if 'und', the alias will be used for unknown languages. Each Drupal path can have an alias for each supported language.", + 'type' => 'varchar', + 'length' => 12, + 'not null' => TRUE, + 'default' => '', + ); + db_change_field('url_alias', 'language', 'language', $spec); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |