Fix missing setting "course_creation_splash_screen"

Error appears when creating a course a.k.a "error monumental" :)
pull/2487/head
jmontoyaa 7 years ago
parent 56733bb31e
commit 5c5140d6b5
  1. 3
      src/CoreBundle/Settings/CourseSettingsSchema.php
  2. 1
      src/SettingsBundle/Manager/SettingsManager.php

@ -107,6 +107,7 @@ class CourseSettingsSchema extends AbstractSettingsSchema
'show_toolshortcuts' => '',
'enable_record_audio' => 'false',
'lp_show_reduced_report' => 'false',
'course_creation_splash_screen' => 'true',
]
)
->setTransformer(
@ -246,7 +247,7 @@ class CourseSettingsSchema extends AbstractSettingsSchema
->add('show_toolshortcuts', YesNoType::class)
->add('enable_record_audio', YesNoType::class)
->add('lp_show_reduced_report', YesNoType::class)
->add('course_creation_splash_screen', YesNoType::class)
;
}
}

@ -439,6 +439,7 @@ class SettingsManager implements SettingsManagerInterface
'ProfilingFilterAddingUsers' => 'profile',
'donotlistcampus' => 'platform',
'gradebook_show_percentage_in_reports' => 'gradebook',
'course_creation_splash_screen' => 'Course'
];
return $oldItems;

Loading…
Cancel
Save