Skip to content

Commit

Permalink
Need more room for language variable (eg pt_br)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Sep 21, 2002
1 parent a16c218 commit 93e0f85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion version.php
Expand Up @@ -18,7 +18,7 @@
// If there's something it cannot do itself, it // If there's something it cannot do itself, it
// will tell you what you need to do. // 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 // XX is a number that increments during the day


$release = "1.0.5 dev"; // For humans only, not used for the upgrade process $release = "1.0.5 dev"; // For humans only, not used for the upgrade process
Expand Down Expand Up @@ -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("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."); 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; return true;
} }
Expand Down

0 comments on commit 93e0f85

Please sign in to comment.