Skip to content

Commit

Permalink
Merge branch 'MDL-72517-master' of git://github.com/cescobedo/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaies committed Oct 7, 2021
2 parents d9f53b7 + 678826e commit 6e2f35a
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 1,065 deletions.
4 changes: 2 additions & 2 deletions lib/classes/plugin_manager.php
Expand Up @@ -1726,7 +1726,7 @@ public static function is_deleted_standard_plugin($type, $name) {
// 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'),
Expand Down Expand Up @@ -1972,7 +1972,7 @@ public static function standard_plugins_list($type) {
),

'qformat' => array(
'aiken', 'blackboard_six', 'examview', 'gift',
'aiken', 'blackboard_six', 'gift',
'missingword', 'multianswer',
'xhtml', 'xml'
),
Expand Down
10 changes: 10 additions & 0 deletions lib/db/upgrade.php
Expand Up @@ -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;
}
46 changes: 0 additions & 46 deletions question/format/examview/classes/privacy/provider.php

This file was deleted.

0 comments on commit 6e2f35a

Please sign in to comment.