Permalink
Browse files

Merge branch 'MDL-34258' of git://github.com/netspotau/moodle-mod_assign

  • Loading branch information...
2 parents 5c4907e + 9650334 commit c6e94095be03da8e464ab889f95af0e4cc5051f3 Sam Hemelryk committed Jul 15, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 mod/assign/locallib.php
@@ -1744,7 +1744,7 @@ private function view_grading_table() {
if (!empty($CFG->enableplagiarism)) {
/** Include plagiarismlib.php */
require_once($CFG->libdir . '/plagiarismlib.php');
- plagiarism_update_status($this->get_course(), $this->get_course_module());
+ $o .= plagiarism_update_status($this->get_course(), $this->get_course_module());
}
$actionformtext = $this->output->render($gradingactions);
@@ -1808,11 +1808,8 @@ private function plagiarism_print_disclosure() {
if (!empty($CFG->enableplagiarism)) {
/** Include plagiarismlib.php */
require_once($CFG->libdir . '/plagiarismlib.php');
- ob_start();
- plagiarism_print_disclosure($this->get_course_module()->id);
- $o = ob_get_contents();
- ob_end_clean();
+ $o .= plagiarism_print_disclosure($this->get_course_module()->id);
}
return $o;

0 comments on commit c6e9409

Please sign in to comment.