MDL-58340 core_calendar: bailout callback now uses '$cm->uservisible'

Part of MDL-55611 epic.
This commit is contained in:
Mark Nelson 2017-03-21 16:02:56 +08:00 committed by Damyon Wiese
parent 3fcf13fd75
commit 0c9dc98b44
2 changed files with 39 additions and 4 deletions

View file

@ -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