moodle/mod/quiz/version.php
moodler 4340a83ae8 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!
2003-11-11 16:13:57 +00:00

12 lines
466 B
PHP

<?PHP // $Id$
////////////////////////////////////////////////////////////////////////////////
// Code fragment to define the version of quiz
// This fragment is called by moodle_needs_upgrading() and /admin/index.php
////////////////////////////////////////////////////////////////////////////////
$module->version = 2003111100; // The (date) version of this module
$module->cron = 0; // How often should cron check this module (seconds)?
?>