Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-31392 qeupgradehelper partial upgrade support broken since 2.2

  • Loading branch information...
commit e2a4d8f9d033f21385bd5b8731d51d86782d2b98 1 parent 269c884
Tim Hunt timhunt authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 question/engine/upgrade/upgradelib.php
5 question/engine/upgrade/upgradelib.php
@@ -88,8 +88,9 @@ protected function get_quiz_ids() {
88 88 global $CFG, $DB;
89 89
90 90 // Look to see if the admin has set things up to only upgrade certain attempts.
91   - $partialupgradefile = $CFG->dirroot . '/local/qeupgradehelper/partialupgrade.php';
92   - $partialupgradefunction = 'local_qeupgradehelper_get_quizzes_to_upgrade';
  91 + $partialupgradefile = $CFG->dirroot . '/' . $CFG->admin .
  92 + '/tool/qeupgradehelper/partialupgrade.php';
  93 + $partialupgradefunction = 'tool_qeupgradehelper_get_quizzes_to_upgrade';
93 94 if (is_readable($partialupgradefile)) {
94 95 include_once($partialupgradefile);
95 96 if (function_exists($partialupgradefunction)) {

0 comments on commit e2a4d8f

Please sign in to comment.
Something went wrong with that request. Please try again.