]> git.mjollnir.org Git - moodle.git/commit
Eliminate direct references to $_REQUEST and $_POST in the quiz code.
authortjhunt <tjhunt>
Wed, 23 Apr 2008 14:49:22 +0000 (14:49 +0000)
committertjhunt <tjhunt>
Wed, 23 Apr 2008 14:49:22 +0000 (14:49 +0000)
commit3192d014f3700581b66798251f06e161b3cd6bdd
tree0c0c1b11b37c963bf58d7f24689439b92e7e2628
parentbfecee473abfa82c64eae28813280b632f2b4b84
Eliminate direct references to $_REQUEST and $_POST in the quiz code.

Also, when you edit the quiz, and therefore any preview attempts are deleted automatically, make sure the attempts are deleted properly by calling quiz_delete_attempt on each one, rathern than leaving orphaned junk in the database.
mod/quiz/attempt.php
mod/quiz/edit.php