From 94acf297c67c8de7c4032e48e76404df32ec0c99 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Thu, 26 May 2005 07:18:25 +0000 Subject: [PATCH] Better name for the new function --- mod/quiz/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php index 1fc22eff7fc..1e5001a0e67 100644 --- a/mod/quiz/locallib.php +++ b/mod/quiz/locallib.php @@ -209,7 +209,7 @@ class quiz_default_questiontype { } /** - * Changes all states for a question in a list of attempts over to a new question + * Changes all states for the given attempts over to a new question * * This is used by the versioning code if the teacher requests that a question * gets replaced by the new version. In order for the attempts to be regraded @@ -223,7 +223,7 @@ class quiz_default_questiontype { * @param array $attempts An array of all attempt objects in whose states * replacement should take place */ - function change_states_question($oldquestionid, $newquestion, $attemtps) { + function replace_question_in_attempts($oldquestionid, $newquestion, $attemtps) { echo 'Not yet implemented'; return; }