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:24:37 +08:00
parent e806e2c9f7
commit 9c4b068082
7 changed files with 167 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2015051100.07; // 20150511 = branching date YYYYMMDD - do not modify!
$version = 2015051100.08; // 20150511 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.