Permalink
Browse files

MDL-30652 Scorm adding proper comments

  • Loading branch information...
1 parent 2117dcb commit e12459baa2c946ab91c637c4367b919bf215c794 @ankitagarwal ankitagarwal committed Dec 15, 2011
Showing with 2 additions and 4 deletions.
  1. +1 −3 mod/scorm/report/basic/report.php
  2. +1 −1 mod/scorm/report/interactions/report.php
@@ -155,11 +155,9 @@ function display($scorm, $cm, $course, $download) {
$table->sortable(true);
$table->collapsible(true);
+ // This is done to prevent redundant data, when a user has multiple attempts
$table->column_suppress('picture');
$table->column_suppress('fullname');
- // I wonder why it is doing all this suppress malarkey?
- // However, if it was suppressing idnumber field before, I guess
- // it needs to suppress all the user identity fields now
foreach ($extrafields as $field) {
$table->column_suppress($field);
}
@@ -211,9 +211,9 @@ function display($scorm, $cm, $course, $download) {
$table->sortable(true);
$table->collapsible(true);
+ // This is done to prevent redundant data, when a user has multiple attempts
$table->column_suppress('picture');
$table->column_suppress('fullname');
- // This is done to prevent redundant data, when a user has multiple attempts
foreach ($extrafields as $field) {
$table->column_suppress($field);
}

0 comments on commit e12459b

Please sign in to comment.