Skip to content
Snippets Groups Projects
Commit e01dc9bf authored by Joshua Ellinger's avatar Joshua Ellinger
Browse files

Users cannot retake a passed quiz.

Issue # 193840 by awong
parent 62fc8879
No related branches found
No related tags found
No related merge requests found
......@@ -1163,10 +1163,6 @@ function quiz_start_actions($quiz) {
$quiz->nid, $quiz->vid, $user->uid));
if ($times >= $quiz->takes) {
drupal_set_message(t('You have already taken this @quiz %d times.', array('@quiz' => QUIZ_NAME, '%d' => $times)), 'status');
// Allow quiz creators to test their quizzes.
if (!user_access('create quiz')) {
return FALSE;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment