Permalink
Browse files

MDL-30652 Scorm adding proper comments

  • Loading branch information...
1 parent 929c26c commit bea916ae7ca22527a2eb07fc5959e8aa80a74f4c @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 bea916a

Please sign in to comment.