Merge branch 'MDL-60174-master' of https://github.com/sammarshallou/moodle

This commit is contained in:
Damyon Wiese 2017-11-28 11:38:40 +08:00
commit bdb157653b
30 changed files with 653 additions and 44 deletions

View file

@ -1183,6 +1183,7 @@ function xmldb_main_upgrade($oldversion) {
$i++;
$pbar->update($i, $total, "Updating duplicate question category stamp - $i/$total.");
}
$rs->close();
unset($usedstamps);
// The uniqueness of each (contextid, stamp) pair is now guaranteed, so add the unique index to stop future duplicates.