MDL-30965 SCORM Removing unused variable ->head
authorAnkit Agarwal <ankit@moodle.com>
Fri, 17 Feb 2012 03:16:45 +0000 (08:46 +0530)
committerAnkit Agarwal <ankit@moodle.com>
Fri, 17 Feb 2012 03:16:45 +0000 (08:46 +0530)
mod/scorm/report/basic/report.php
mod/scorm/report/interactions/report.php

index a201cd4..e201ea4 100644 (file)
@@ -138,7 +138,6 @@ class scorm_basic_report extends scorm_default_report {
                     if ($sco->launch!='') {
                         $columns[]= 'scograde'.$sco->id;
                         $headers[]= format_string($sco->title);
-                        $table->head[]= format_string($sco->title);
                     }
                 }
             } else {
index 930d835..99204d1 100644 (file)
@@ -150,7 +150,6 @@ class scorm_interactions_report extends scorm_default_report {
                 if ($sco->launch != '') {
                     $columns[] = 'scograde'.$sco->id;
                     $headers[] = format_string($sco->title,'',$formattextoptions);
-                    $table->head[]= format_string($sco->title,'',$formattextoptions);
                 }
             }