mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-58340 core_calendar: bailout callback now uses '$cm->uservisible'
Part of MDL-55611 epic.
This commit is contained in:
parent
3fcf13fd75
commit
0c9dc98b44
2 changed files with 39 additions and 4 deletions
|
@ -125,7 +125,7 @@ class core_container {
|
|||
|
||||
$cm = $instances[$dbrow->modulename][$dbrow->instance];
|
||||
|
||||
return !(bool)$cm->visible;
|
||||
return !(bool)$cm->uservisible;
|
||||
},
|
||||
self::$coursecache,
|
||||
self::$modulecache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue