mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-45151-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
4f3f8fba67
5 changed files with 57 additions and 4 deletions
|
@ -60,6 +60,9 @@ abstract class base extends \core\event\base {
|
|||
if ($assign->get_context()->id != $this->get_context()->id) {
|
||||
throw new \coding_exception('Invalid assign isntance supplied!');
|
||||
}
|
||||
if ($assign->is_blind_marking()) {
|
||||
$this->data['anonymous'] = 1;
|
||||
}
|
||||
$this->assign = $assign;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue