Merge branch 'MDL-72517-master' of git://github.com/cescobedo/moodle

This commit is contained in:
Shamim Rezaie 2021-10-07 13:03:06 +11:00
commit 6e2f35ae18
11 changed files with 18 additions and 1065 deletions

View file

@ -1726,7 +1726,7 @@ class core_plugin_manager {
// branch, listed should be no plugins that were removed at 1.9.x - 2.1.x versions as
// Moodle 2.3 supports upgrades from 2.2.x only.
$plugins = array(
'qformat' => array('blackboard', 'learnwise'),
'qformat' => array('blackboard', 'learnwise', 'examview'),
'auth' => array('radius', 'fc', 'nntp', 'pam', 'pop3', 'imap'),
'block' => array('course_overview', 'messages', 'community', 'participants'),
'cachestore' => array('memcache'),
@ -1972,7 +1972,7 @@ class core_plugin_manager {
),
'qformat' => array(
'aiken', 'blackboard_six', 'examview', 'gift',
'aiken', 'blackboard_six', 'gift',
'missingword', 'multianswer',
'xhtml', 'xml'
),

View file

@ -2882,5 +2882,15 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2021100300.02);
}
if ($oldversion < 2021100600.01) {
// Remove qformat_examview (unless it has manually been added back).
if (!file_exists($CFG->dirroot . '/question/format/examview/format.php')) {
unset_all_config_for_plugin('qformat_examview');
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2021100600.01);
}
return true;
}