Skip to content

Commit

Permalink
Merge branch 'MDL-31392_22' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_22_STABLE
  • Loading branch information
Aparup Banerjee committed Jan 30, 2012
2 parents 17b629d + e2a4d8f commit c8a11c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions question/engine/upgrade/upgradelib.php
Expand Up @@ -88,8 +88,9 @@ protected function get_quiz_ids() {
global $CFG, $DB; global $CFG, $DB;


// Look to see if the admin has set things up to only upgrade certain attempts. // Look to see if the admin has set things up to only upgrade certain attempts.
$partialupgradefile = $CFG->dirroot . '/local/qeupgradehelper/partialupgrade.php'; $partialupgradefile = $CFG->dirroot . '/' . $CFG->admin .
$partialupgradefunction = 'local_qeupgradehelper_get_quizzes_to_upgrade'; '/tool/qeupgradehelper/partialupgrade.php';
$partialupgradefunction = 'tool_qeupgradehelper_get_quizzes_to_upgrade';
if (is_readable($partialupgradefile)) { if (is_readable($partialupgradefile)) {
include_once($partialupgradefile); include_once($partialupgradefile);
if (function_exists($partialupgradefunction)) { if (function_exists($partialupgradefunction)) {
Expand Down

0 comments on commit c8a11c7

Please sign in to comment.