mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
14d8c0b409
but can't mark them yet. I've been constructing quizzes manually in the database and it's helping to refine the database structure. Don't count on anything stable in the quiz module for a few days yet ...
19 lines
448 B
PHP
19 lines
448 B
PHP
<?PHP // $Id$
|
|
|
|
function quiz_upgrade($oldversion) {
|
|
// This function does anything necessary to upgrade
|
|
// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2002110100) {
|
|
|
|
echo "The quiz module is under heavy development ... at this stage you should delete all existing quiz tables, as well as the quiz entry in the 'modules' table, then come back here to rebuild them.";
|
|
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
?>
|