MDL-47266 quiz: fix restore log message.

This commit is contained in:
Tim Hunt
2014-09-18 11:04:28 +01:00
parent 272fec367f
commit a7b0bd1331
@@ -265,7 +265,7 @@ class restore_quiz_activity_structure_step extends restore_questions_activity_st
// There was a question_instance in the backup file for a question
// that was not acutally in the quiz. Drop it.
$this->log('question ' . $data->questionid . ' was associated with quiz ' .
$quiz->id . ' but not actually used. ' .
$this->get_new_parentid('quiz') . ' but not actually used. ' .
'The instance has been ignored.', backup::LOG_INFO);
return;
}