Skip to content

Commit

Permalink
MDL-36805 Correct docs for workshop_grade_item_update in mod_workshop
Browse files Browse the repository at this point in the history
The documentation suggested that the modname field should be present on the
$workshop parameter when this is not required. It is not used in any point
in the function and the $workshop variable is never passed to another
function which may use it.
  • Loading branch information
Andrew Robert Nicols committed Dec 10, 2012
1 parent c274d5e commit b5dc3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ function workshop_get_extra_capabilities() {
* Needed by grade_update_mod_grades() in lib/gradelib.php. Also used by
* {@link workshop_update_grades()}.
*
* @param stdClass $workshop instance object with extra cmidnumber and modname property
* @param stdClass $workshop instance object with extra cmidnumber property
* @param stdClass $submissiongrades data for the first grade item
* @param stdClass $assessmentgrades data for the second grade item
* @return void
Expand Down

0 comments on commit b5dc3a5

Please sign in to comment.