MDL-66074 core_course: Correct documentation
authorMathew May <mathewm@hotmail.co.nz>
Mon, 28 Oct 2019 04:51:11 +0000 (12:51 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Wed, 30 Oct 2019 02:23:41 +0000 (10:23 +0800)
course/externallib.php
course/moodleform_mod.php

index 028f105..d3bab4d 100644 (file)
@@ -4114,7 +4114,7 @@ class core_course_external extends external_api {
     /**
      * Create user return value description.
      *
-     * @return single_structure_description
+     * @return external_description
      */
     public static function user_description() {
         $userfields = array(
index cc28b58..ead3500 100644 (file)
@@ -298,7 +298,6 @@ abstract class moodleform_mod extends moodleform {
         if ($COURSE->groupmodeforce) {
             if ($mform->elementExists('groupmode')) {
                 // The groupmode can not be changed if forced from course settings.
-                //
                 $mform->hardFreeze('groupmode');
             }
         }