Permalink
Browse files

MDL-31392 qeupgradehelper partial upgrade support broken since 2.2

  • Loading branch information...
1 parent 269c884 commit e2a4d8f9d033f21385bd5b8731d51d86782d2b98 @timhunt timhunt committed Jan 26, 2012
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 e2a4d8f

Please sign in to comment.