Skip to content
Browse files

MDL-34198 SCORM remove unecessary get_records call

  • Loading branch information...
1 parent 714f2d5 commit 5d7f0fcc1e2106e710137a07d06b8c48690a7be4 @danmarsden danmarsden committed with danpoltawski
Showing with 0 additions and 1 deletion.
  1. +0 −1 mod/scorm/report/interactions/report.php
View
1 mod/scorm/report/interactions/report.php
@@ -183,7 +183,6 @@ function display($scorm, $cm, $course, $download) {
$countsql .= 'COUNT(DISTINCT('.$DB->sql_concat('u.id', '\'#\'', 'st.attempt').')) AS nbattempts, ';
$countsql .= 'COUNT(DISTINCT(u.id)) AS nbusers ';
$countsql .= $from.$where;
- $attempts = $DB->get_records_sql($select.$from.$where, $params);
$questioncount = get_scorm_question_count($scorm->id);
$nbmaincolumns = count($columns);
for($id = 0; $id < $questioncount; $id++) {

0 comments on commit 5d7f0fc

Please sign in to comment.
Something went wrong with that request. Please try again.