]> git.mjollnir.org Git - moodle.git/commit
Added some bug-fixing code from Eloy Lafuente that fixes a quiz problem.
authormoodler <moodler>
Tue, 11 Nov 2003 16:13:57 +0000 (16:13 +0000)
committermoodler <moodler>
Tue, 11 Nov 2003 16:13:57 +0000 (16:13 +0000)
commit4340a83ae8ec0476823b6c42dd1297977f2864ad
treea4b50897d34400687b1d766675a783302f532c6a
parentec93fb5015964ea0230775d2f22c7acd9b307828
Added some bug-fixing code from Eloy Lafuente that fixes a quiz problem.

What happens is that adding random questions used to set the timestamps
of these questions to the same value.  This is fine in normal operation,
but it stuffs up the backup of that course, overwriting the question.
When the course is restored, the missing questions cause quizzes to
have lots of red notices like "Question not found".

Anyhow, this patch should safely fix older installations that may have
these duplicate questions lying around.

THANKS ELOY!
mod/quiz/db/mysql.php
mod/quiz/db/postgres7.php
mod/quiz/version.php
version.php