mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-9506 Removed the debugging message for the fetch() methods. Added droplow and keephigh rules to grade_category::aggregate_grades(). The only question now is what to do when the droplow or keephigh field is larger than the number of grades for a given user/item combination. At the moment it just gives that value 0.
This commit is contained in:
parent
d0e84e1be0
commit
ab53054fd1
11 changed files with 93 additions and 63 deletions
|
@ -137,7 +137,7 @@ class grade_object {
|
|||
*/
|
||||
function update_from_db() {
|
||||
if (empty($this->id)) {
|
||||
debugging("The object could not be used in its state to retrieve a matching record from the DB, because it's id field is not set.");
|
||||
debugging("The object could not be used in its state to retrieve a matching record from the DB, because its id field is not set.");
|
||||
return false;
|
||||
} else {
|
||||
$class = get_class($this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue