Browse files

Need more room for language variable (eg pt_br)

  • Loading branch information...
martin committed Sep 21, 2002
1 parent a16c218 commit 93e0f85d6c7469a7c2eb1b89f9646f1f9dfb417b
Showing with 4 additions and 1 deletion.
  1. +4 −1 version.php
@@ -18,7 +18,7 @@
// If there's something it cannot do itself, it
// will tell you what you need to do.
-$version = 2002091900; // The current version is a date (YYYYMMDDXX) where
+$version = 2002092000; // The current version is a date (YYYYMMDDXX) where
// XX is a number that increments during the day
$release = "1.0.5 dev"; // For humans only, not used for the upgrade process
@@ -74,6 +74,9 @@ function upgrade_moodle($oldversion=0) {
notify("Most Moodle configuration variables have been moved to the database and can now be edited via the admin page.");
notify("Although it is not vital that you do so, you might want to edit <U>config.php</U> and remove all the unused settings (except the database, URL and directory definitions). See <U>config-dist.php</U> for an example of how your new slim config.php should look.");
+ if ($oldversion < 2002092000) {
+ execute_sql(" ALTER TABLE `user` CHANGE `lang` `lang` VARCHAR(5) DEFAULT 'en' NOT NULL ");
+ }
return true;

0 comments on commit 93e0f85

Please sign in to comment.