Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-28453_MOODLE_21_STABLE' into MOODLE_21_STABLE

commit 25f9dae427d2129db38e2dec702b6ec07572ae9c 2 parents 93c5c05 + 2d4c4b6
@skodak skodak authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  backup/util/dbops/restore_dbops.class.php
View
3  backup/util/dbops/restore_dbops.class.php
@@ -1340,7 +1340,8 @@ public static function create_new_course($fullname, $shortname, $categoryid) {
$course->sortorder = 0;
$course->timecreated = time();
$course->timemodified = $course->timecreated;
- $course->visible = $category->visible;
+ // forcing skeleton courses to be hidden instead of going by $category->visible , until MDL-27790 is resolved.
+ $course->visible = 0;
$courseid = $DB->insert_record('course', $course);
Please sign in to comment.
Something went wrong with that request. Please try again.