Permalink
Browse files

Merge branch 'MDL-28453'

  • Loading branch information...
2 parents 9e4d53c + ed6a14e commit 95a1cb245cd1c63a9fe50c20d4e80fc58d9e8900 @skodak skodak committed Jul 25, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 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);

0 comments on commit 95a1cb2

Please sign in to comment.