]> git.mjollnir.org Git - moodle.git/commitdiff
Improve PHPdocs on a function.
authortjhunt <tjhunt>
Wed, 23 Apr 2008 14:31:21 +0000 (14:31 +0000)
committertjhunt <tjhunt>
Wed, 23 Apr 2008 14:31:21 +0000 (14:31 +0000)
mod/quiz/locallib.php

index 5e537dcd6f24b13e33e5139702ab75b5b2f9137d..9f32c33c2b6bd7fb85fc0c1f7eaba0a4fd57b03e 100644 (file)
@@ -171,6 +171,8 @@ function quiz_load_attempt($attemptid) {
 
 /**
  * Delete a quiz attempt.
+ * @param mixed $attempt an integer attempt id or an attempt object (row of the quiz_attempts table).
+ * @param object $quiz the quiz object.
  */
 function quiz_delete_attempt($attempt, $quiz) {
     if (is_numeric($attempt)) {