Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61ee4e
)
MDL-62772 mod_assign: Show disclosure for all submitters
author
John McGettrick
<jmcgettrick@turnitin.com>
Mon, 9 Jul 2018 08:26:38 +0000
(09:26 +0100)
committer
John McGettrick
<jmcgettrick@turnitin.com>
Mon, 9 Jul 2018 08:26:38 +0000
(09:26 +0100)
mod/assign/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/locallib.php
b/mod/assign/locallib.php
index
75f4ccd
..
0a13324
100644
(file)
--- a/
mod/assign/locallib.php
+++ b/
mod/assign/locallib.php
@@
-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) {