Permalink
Browse files

MDL-39764 style: phpdoc changed to inline comments

  • Loading branch information...
1 parent 7b78c24 commit 266a68e840e3e47715374db566d005be00368e88 @stronk7 stronk7 committed Jun 3, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −7 course/edit_form.php
View
@@ -130,13 +130,12 @@ function definition() {
if (!isset($max) || !is_numeric($max)) {
$max = 52;
}
- /*
- * Increase the number of sections combo box values if the user has increased the number of sections
- * using the icon on the course page beyond course 'maxsections' or course 'maxsections' has been
- * reduced below the number of sections already set for the course on the site administration course
- * defaults page. This is so that the number of sections is not reduced leaving unintended orphaned
- * activities / resources.
- */
+
+ // Increase the number of sections combo box values if the user has increased the number of sections
+ // using the icon on the course page beyond course 'maxsections' or course 'maxsections' has been
+ // reduced below the number of sections already set for the course on the site administration course
+ // defaults page. This is so that the number of sections is not reduced leaving unintended orphaned
+ // activities / resources.
if (isset($course->numsections) && $course->numsections > $max) {
$max = $course->numsections;
}

0 comments on commit 266a68e

Please sign in to comment.