mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 09:30:17 +01:00
Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
8bc1c231d6
@ -90,6 +90,8 @@ class cm implements renderable {
|
||||
'sectionnumber' => $section->section,
|
||||
'uservisible' => $cm->uservisible,
|
||||
'hascmrestrictions' => $this->get_has_restrictions(),
|
||||
'module' => $cm->modname,
|
||||
'plugin' => 'mod_' . $cm->modname,
|
||||
];
|
||||
|
||||
// Check the user access type to this cm.
|
||||
|
Loading…
x
Reference in New Issue
Block a user