Permalink
Browse files

MDL-34198 SCORM remove unecessary get_records call

  • Loading branch information...
danmarsden authored and danpoltawski committed Jul 5, 2012
1 parent 68ea10b commit 6b8399df5e8a24b27bd805176972914c809f1e33
Showing with 0 additions and 1 deletion.
  1. +0 −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 6b8399d

Please sign in to comment.