|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | mod |
Local Library of functions for module scorm. | |
Functions | |
| quiz_upgrade_very_old_question_sessions ($attempt) | |
| quiz_upgrade_very_old_question_sessions | ( | $ | attempt | ) |
Upgrade states for an attempt to Moodle 1.5 model
Any state that does not yet have its timestamp set to nonzero has not yet been upgraded from Moodle 1.4. The reason these are still around is that for large sites it would have taken too long to upgrade all states at once. This function sets the timestamp field and creates an entry in the question_sessions table.
| object | $attempt | The attempt whose states need upgrading |
Definition at line 41 of file upgradelib.php.

