mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'MDL-31392' of git://github.com/timhunt/moodle
This commit is contained in:
commit
fd174542e3
@ -88,8 +88,9 @@ class question_engine_attempt_upgrader {
|
||||
global $CFG, $DB;
|
||||
|
||||
// Look to see if the admin has set things up to only upgrade certain attempts.
|
||||
$partialupgradefile = $CFG->dirroot . '/local/qeupgradehelper/partialupgrade.php';
|
||||
$partialupgradefunction = 'local_qeupgradehelper_get_quizzes_to_upgrade';
|
||||
$partialupgradefile = $CFG->dirroot . '/' . $CFG->admin .
|
||||
'/tool/qeupgradehelper/partialupgrade.php';
|
||||
$partialupgradefunction = 'tool_qeupgradehelper_get_quizzes_to_upgrade';
|
||||
if (is_readable($partialupgradefile)) {
|
||||
include_once($partialupgradefile);
|
||||
if (function_exists($partialupgradefunction)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user