소스 검색

Minor adding course visibility see BT#4875

Julio Montoya 12 년 전
부모
커밋
5cf1ea0f21
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tests/migrate/migration.custom.class.php

+ 2 - 0
tests/migrate/migration.custom.class.php

@@ -293,6 +293,8 @@ class MigrationCustom {
         $data['create_gradebook_evaluation'] = true;
         //Specific to ICPNA, set the default language to English
         $data['language'] = 'english';
+        $data['visibility'] = COURSE_VISIBILITY_REGISTERED;
+        
         $data['gradebook_params'] = array(
             'name' => 'General evaluation',
             'user_id' => self::default_admin_id,