Merge branch 'MDL-53451-master-fixup' of https://github.com/FMCorz/moodle

This commit is contained in:
Dan Poltawski 2016-04-20 11:28:55 +01:00
commit 913dcb1b81
10 changed files with 76 additions and 35 deletions

View file

@ -290,7 +290,7 @@ class grade_scale extends grade_object {
}
// Ask the competency subsystem.
if (\core_competency\api::is_scale_used_anywhere($scaleid)) {
if (\core_competency\api::is_scale_used_anywhere($this->id)) {
return true;
}