Skip to content

Commit 0e97d22

Browse files
committed
Remove region of commented code
The comment suggests that the export mechanism does not work due to an unreadable file which is why this code is commented. This needs to be fixed. In the meantime, remove the comment.
1 parent 56ef1e2 commit 0e97d22

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

renderer.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public function publish_allocation_group($ratingallocateid, $coursemoduleid, $st
581581
}
582582

583583
/**
584-
* Output the ratingallocate modfify allocation
584+
* Output the ratingallocate modify allocation
585585
*/
586586
public function reports_group($ratingallocateid, $coursemoduleid, $status, $context, $action = '') {
587587
$output = '';
@@ -598,15 +598,6 @@ public function reports_group($ratingallocateid, $coursemoduleid, $status, $cont
598598
$action
599599
);
600600

601-
/* TODO: File not readable
602-
$output .= html_writer::empty_tag('br', []);
603-
604-
if (has_capability('mod/ratingallocate:export_ratings', $context)) {
605-
$output .= $this->action_link(new moodle_url(
606-
'/mod/ratingallocate/solver/export_lp_solve.php', ['id' => $coursemoduleid,
607-
'ratingallocateid' => $ratingallocateid]), get_string('download_problem_mps_format', RATINGALLOCATE_MOD_NAME));
608-
}*/
609-
610601
$output .= $this->box_end();
611602
return $output;
612603
}

0 commit comments

Comments
 (0)