Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/quiz/db/upgradelib.php File Reference

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)

Function Documentation

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.

Parameters:
object$attemptThe attempt whose states need upgrading

Definition at line 41 of file upgradelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations