Skip to content

Commit

Permalink
Fixing typo causing some (a few) sites to break on upgrade. Credit
Browse files Browse the repository at this point in the history
goes to Rafa Gutierrez. MDL-9316

Merged from MOODLE_17_STABLE
  • Loading branch information
stronk7 committed Apr 12, 2007
1 parent bfeb267 commit 54b6d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/db/mysql.php
Expand Up @@ -842,7 +842,7 @@ function quiz_upgrade($oldversion) {
//If the course doesn't exist, orphan category found!
//Process it with question_delete_course(). It will do all the hard work.
if (!record_exists('course', 'id', $course->id)) {
require_once("$CFG->libdir/questionlib.php ");
require_once("$CFG->libdir/questionlib.php");
$success = $success && question_delete_course($course);
}
}
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/db/postgres7.php
Expand Up @@ -922,7 +922,7 @@ function quiz_upgrade($oldversion) {
//If the course doesn't exist, orphan category found!
//Process it with question_delete_course(). It will do all the hard work.
if (!record_exists('course', 'id', $course->id)) {
require_once("$CFG->libdir/questionlib.php ");
require_once("$CFG->libdir/questionlib.php");
$success = $success && question_delete_course($course);
}
}
Expand Down

0 comments on commit 54b6d16

Please sign in to comment.