https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e69db3
)
r1123: Adding one more query in upgrade3.php to set the right language code
author
Robert Sesek <rsesek@bluestatic.org>
Tue, 22 Aug 2006 00:09:55 +0000
(
00:09
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Tue, 22 Aug 2006 00:09:55 +0000
(
00:09
+0000)
install/upgrade3.php
patch
|
blob
|
history
diff --git
a/install/upgrade3.php
b/install/upgrade3.php
index 41951e4cc420d7144d0c6d8faebb2e9b385747f8..d82e4bb0c56b27a7691940e92cadb7e14891775e 100644
(file)
--- a/
install/upgrade3.php
+++ b/
install/upgrade3.php
@@
-66,6
+66,10
@@
if ($bugsys->in['mark'] == 1)
$db->query("ALTER TABLE " . TABLE_PREFIX . "language DROP debug");
echo "Dropping language.debug as language debug mode no longer exists<br />\n";
+
+ $db->query("UPDATE " . TABLE_PREFIX . "language SET langcode = 'en_US' WHERE languageid = 1");
+
+ echo "Setting the correct langcode for English (US)<br />\n";
}
// ###################################################################