Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-31392_22' of git://github.com/timhunt/moodle into M…

…OODLE_22_STABLE
  • Loading branch information...
commit c8a11c7410c03c277683c014e9db880a5bb0517c 2 parents 17b629d + e2a4d8f
@nebgor nebgor authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 question/engine/upgrade/upgradelib.php
View
5 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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.