mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-27471 rating - whitespace cleanup
This commit is contained in:
parent
5b52ce19c5
commit
f2e725930b
4 changed files with 9 additions and 9 deletions
|
@ -3523,7 +3523,7 @@ function forum_rating_validate($params) {
|
|||
if ($context->id != $params['context']->id) {
|
||||
throw new rating_exception('invalidcontext');
|
||||
}
|
||||
|
||||
|
||||
if ($forum->scale != $params['scaleid']) {
|
||||
//the scale being submitted doesnt match the one in the database
|
||||
throw new rating_exception('invalidscaleid');
|
||||
|
@ -3535,7 +3535,7 @@ function forum_rating_validate($params) {
|
|||
throw new rating_exception('notavailable');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//check that the submitted rating is valid for the scale
|
||||
|
||||
// lower limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue