Merge branch 'wip_MDL-46126_m28_passnulls' of https://github.com/skodak/moodle

This commit is contained in:
Sam Hemelryk 2014-07-08 09:37:08 +12:00
commit a02656b75a

View File

@ -1583,6 +1583,8 @@ function xmldb_main_upgrade($oldversion) {
}
if ($oldversion < 2013021100.01) {
// Make sure there are no bogus nulls in old MySQL tables.
$DB->set_field_select('user', 'password', '', "password IS NULL");
// Changing precision of field password on table user to (255).
$table = new xmldb_table('user');