mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
regular whitespace cleanup in grade code
This commit is contained in:
parent
e1d2692a73
commit
ba74762bda
21 changed files with 297 additions and 297 deletions
|
@ -427,7 +427,7 @@ class grade_grades extends grade_object {
|
|||
*/
|
||||
function standardise_score($rawgrade, $source_min, $source_max, $target_min, $target_max) {
|
||||
if (is_null($rawgrade)) {
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
$factor = ($rawgrade - $source_min) / ($source_max - $source_min);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue