Skip to content

Commit e26c6d0

Browse files
committed
Remove upgrade steps from Moodle 4.1 (MDL-83470)
1 parent 142651a commit e26c6d0

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

db/upgrade.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,5 @@ function xmldb_format_multitopic_upgrade($oldversion) {
6060
upgrade_plugin_savepoint(true, 2022012100, 'format', 'multitopic');
6161
}
6262

63-
if ($oldversion < 2023072900) {
64-
// For sites migrating from 4.0.x or 4.1.x where the indentation was removed,
65-
// we are disabling 'indentation' value by default.
66-
if ($oldversion >= 2022061400) {
67-
set_config('indentation', 0, 'format_multitopic');
68-
} else {
69-
set_config('indentation', 1, 'format_multitopic');
70-
}
71-
upgrade_plugin_savepoint(true, 2023072900, 'format', 'multitopic');
72-
}
73-
7463
return true;
7564
}

0 commit comments

Comments
 (0)