reverting change made by Martin D when going to version 1.230

This commit is contained in:
gustav_delius 2006-02-06 20:44:43 +00:00
parent a25a4a7356
commit 668bc1f3a6

View File

@ -220,9 +220,6 @@ function quiz_delete_instance($id) {
if (! delete_records("quiz_newest_states", "attemptid", "$attempt->uniqueid")) { if (! delete_records("quiz_newest_states", "attemptid", "$attempt->uniqueid")) {
$result = false; $result = false;
} }
if (! delete_records("quiz_newest_states", "attemptid", "$attempt->id")) {
$result = false;
}
} }
} }