From eaf0d255b4abeb8a9fadcfd89fdcda6b1d4b3413 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 11 Jun 2015 16:22:01 +0800 Subject: [PATCH] MDL-48618 grades: Do not run minmax upgrade for fresh installs --- lib/db/install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/db/install.php b/lib/db/install.php index bfc55d2bfa9..0d8e13297e0 100644 --- a/lib/db/install.php +++ b/lib/db/install.php @@ -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);