MDL-48618 grades: Do not run minmax upgrade for fresh installs

This commit is contained in:
Frederic Massart
2015-06-11 17:16:40 +08:00
committed by David Monllao
parent ebae161cdf
commit eaf0d255b4
+1
View File
@@ -130,6 +130,7 @@ function xmldb_main_install() {
'stringfilters' => '', // These two are managed in a strange way by the filters
'filterall' => 0, // setting page, so have to be initialised here.
'texteditors' => 'atto,tinymce,textarea',
'upgrade_minmaxgradestepignored' => 1, // New installs should not run this upgrade step.
);
foreach($defaults as $key => $value) {
set_config($key, $value);