]> git.mjollnir.org Git - moodle.git/commit
MDL-9506 Fixed up the grade_tree and its unit tests. The main change to notice is...
authornicolasconnault <nicolasconnault>
Fri, 18 May 2007 05:34:30 +0000 (05:34 +0000)
committernicolasconnault <nicolasconnault>
Fri, 18 May 2007 05:34:30 +0000 (05:34 +0000)
commitd7f1cc4c3b8c9825cbfea882701caea524b3cedc
tree40661523eef22c4b337c64db6ff3ceda272af7b6
parent355180ff342178fdeabde04037b037c4ffeb7fcf
MDL-9506 Fixed up the grade_tree and its unit tests. The main change to notice is in grade_category, where the array returned by get_children() is indexed by sortorder. The associated unit tests have been updated to reflect this important change.
lib/grade/grade_category.php
lib/grade/grade_tree.php
lib/simpletest/grade/simpletest/testgradecategory.php
lib/simpletest/grade/simpletest/testgradetree.php