mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 03:53:49 +01:00
reverting change made by Martin D when going to version 1.230
This commit is contained in:
parent
a25a4a7356
commit
668bc1f3a6
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user