Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-36805 Correct docs for workshop_grade_item_update in mod_workshop

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...
commit b5dc3a57f74a4a9d6e0ca4169707f772864b515c 1 parent c274d5e
Andrew Nicols andrewnicols authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/workshop/lib.php
2  mod/workshop/lib.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.