moodle/lib/grade
Tim Hunt 26e3ae92f2 grade import: MDL-21987 Problem with repeated imports of the same grade.
The thanks to Petr (skodak).

Here is what I learned while working on this:

1. when explicitly setting the final grade (manual edit or import),
   it is important that ->overridden gets set, and it should get set
   to the time when the override was done.

2. but only on certainly sorts of grade item, and the condition for
   setting the flag is different when it is the feedback being changed
   or the grade being changed, hence the two different tests
   is_overridable_item and is_overridable_item_feedback.

3. but, if the grade and feedback is not actually changed, then the ->overridden
   timestamp should not be changed. (That was the bit that was buggy.)
2010-03-31 13:50:56 +00:00
..
simpletest MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:42:23 +00:00
constants.php gradebook MDL-21218 Improved the hiding/displaying of category and course totals when they contain hidden items 2010-02-08 06:27:04 +00:00
grade_category.php gradebook MDL-21514 Ironed out a bug with hiding course totals 2010-02-12 03:39:40 +00:00
grade_grade.php gradebook MDL-21218 Improved the hiding/displaying of category and course totals when they contain hidden items 2010-02-08 06:27:04 +00:00
grade_item.php grade import: MDL-21987 Problem with repeated imports of the same grade. 2010-03-31 13:50:56 +00:00
grade_object.php MDL-21790 fixed dml conversion regression - credit goes to Evan Irving-Pease for the patch and discovery, thanks 2010-03-10 08:42:44 +00:00
grade_outcome.php MDL-21015 - typo detected when working on grade tests... 2009-12-01 14:47:14 +00:00
grade_scale.php MDL-21015 copy/paste typo spreaded over various grade classes fixed 2009-12-01 18:32:53 +00:00