MDL-54802 mod_quiz: Add validation to require passing grade greater than 0
authorSimey Lameze <simey@moodle.com>
Wed, 21 Sep 2016 08:09:25 +0000 (16:09 +0800)
committerSimey Lameze <simey@moodle.com>
Thu, 22 Sep 2016 00:48:11 +0000 (08:48 +0800)
commit981356b23d59a5b54322d2d1c5eb679266c28072
tree1e302764edde90cf470416f1950e095863ca8cc6
parent1f2744851fb50cae6602510d3651ecf9797d24a1
MDL-54802 mod_quiz: Add validation to require passing grade greater than 0

This commit adds a form validation to prevent the creation of quizzes
using zero or null grade to pass when using require passing grade.
mod/quiz/db/upgrade.php
mod/quiz/lang/en/quiz.php
mod/quiz/mod_form.php
mod/quiz/version.php