Skip to content
Permalink
Browse files

Merge branch 'MDL-31392' of git://github.com/timhunt/moodle

  • Loading branch information...
Aparup Banerjee
Aparup Banerjee committed Jan 30, 2012
2 parents 10d7dac + 6401b3c commit fd174542e3f17da2dadf93e0186a51dfd45c6c59
Showing with 3 additions and 2 deletions.
  1. +3 −2 question/engine/upgrade/upgradelib.php
@@ -88,8 +88,9 @@ protected function get_quiz_ids() {
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)) {

0 comments on commit fd17454

Please sign in to comment.
You can’t perform that action at this time.