From 668bc1f3a6ed0bc45054af2cb264afc7e2de2e5d Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Mon, 6 Feb 2006 20:44:43 +0000 Subject: [PATCH] reverting change made by Martin D when going to version 1.230 --- mod/quiz/lib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php index b1840a37656..1f9826012c4 100644 --- a/mod/quiz/lib.php +++ b/mod/quiz/lib.php @@ -220,9 +220,6 @@ function quiz_delete_instance($id) { if (! delete_records("quiz_newest_states", "attemptid", "$attempt->uniqueid")) { $result = false; } - if (! delete_records("quiz_newest_states", "attemptid", "$attempt->id")) { - $result = false; - } } }