MDL-54802 quiz: fix bad whitespace

This commit is contained in:
Dan Poltawski
2016-10-03 14:47:21 +01:00
parent df42740f33
commit 8edc190aae
+2 -2
View File
@@ -936,10 +936,10 @@ function xmldb_quiz_upgrade($oldversion) {
// Find quizzes with the combination of require passing grade and grade to pass 0.
$quizzes = $DB->get_records_sql("
SELECT gi.id, gi.iteminstance
FROM {quiz} q
FROM {quiz} q
INNER JOIN {course_modules} cm ON q.id = cm.instance
INNER JOIN {grade_items} gi ON q.id = gi.iteminstance
WHERE q.completionpass = 1
WHERE q.completionpass = 1
AND gi.gradepass = 0
AND cm.completiongradeitemnumber IS NULL");
if ($quizzes) {