mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 02:16:06 +02:00
MDL-79780 quiz_statistics: take advantage of get_fieldset method
This updates the MDL-79639 code.
This commit is contained in:
parent
e8bfeea06c
commit
9ee42d0a34
@ -208,14 +208,13 @@ class analysis_for_question {
|
||||
|
||||
$transaction = $DB->start_delegated_transaction();
|
||||
|
||||
$analysisids = $DB->get_fieldset_select(
|
||||
$analysisids = $DB->get_fieldset(
|
||||
'question_response_analysis',
|
||||
'id',
|
||||
'hashcode = ? AND whichtries = ? AND questionid = ?',
|
||||
[
|
||||
$qubaids->get_hash_code(),
|
||||
$whichtries,
|
||||
$questionid,
|
||||
'hashcode' => $qubaids->get_hash_code(),
|
||||
'whichtries' => $whichtries,
|
||||
'questionid' => $questionid,
|
||||
]
|
||||
);
|
||||
if (!empty($analysisids)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user