MDL-49257 grades: fix bugs with extra credit weights

When we adjust the weights in natural grading (setup screen), the extra credit items
should not depend on other overrides. If extra credit item's weight was overriden, it stays as it is.
Otherwise it is calculated as itemgrademax / totalgrademax (total excludes extra credit items)
This commit is contained in:
Marina Glancy
2015-06-23 14:25:50 +08:00
parent deb3d5ed00
commit 156d048659
7 changed files with 167 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015061800.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2015061900.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.