mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-63836 course: No course header images
This feature may be added in future, but for now we are not going to include it.
This commit is contained in:
parent
5160567c5f
commit
f41207400b
10 changed files with 10 additions and 87 deletions
|
@ -2666,12 +2666,6 @@ function xmldb_main_upgrade($oldversion) {
|
|||
upgrade_main_savepoint(true, 2018102900.00);
|
||||
}
|
||||
|
||||
if ($oldversion < 2018102900.01) {
|
||||
// Show course images by default.
|
||||
set_config('showcourseimages', 1, 'moodlecourse');
|
||||
upgrade_main_savepoint(true, 2018102900.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2018110500.01) {
|
||||
// Define fields to be added to the 'badge' table.
|
||||
$tablebadge = new xmldb_table('badge');
|
||||
|
@ -2769,5 +2763,13 @@ function xmldb_main_upgrade($oldversion) {
|
|||
upgrade_main_savepoint(true, 2018110500.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2018110700.01) {
|
||||
// This config setting added and then removed.
|
||||
unset_config('showcourseimages', 'moodlecourse');
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2018110700.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue