Merge branch 'wip_MDL-46126_m26_passnulls' of https://github.com/skodak/moodle into MOODLE_26_STABLE

This commit is contained in:
Sam Hemelryk
2014-07-08 09:37:14 +12:00
+2
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');