mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-62772 mod_assign: Show disclosure for all submitters
This commit is contained in:
parent
f61ee4e857
commit
9481cc0e06
@ -4532,10 +4532,10 @@ class assign {
|
||||
$this->show_intro(),
|
||||
$this->get_course_module()->id,
|
||||
$title, '', $postfix));
|
||||
if ($userid == $USER->id) {
|
||||
// We only show this if it their submission.
|
||||
$o .= $this->plagiarism_print_disclosure();
|
||||
}
|
||||
|
||||
// Show plagiarism disclosure for any user submitter.
|
||||
$o .= $this->plagiarism_print_disclosure();
|
||||
|
||||
$data = new stdClass();
|
||||
$data->userid = $userid;
|
||||
if (!$mform) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user