mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'mdl26dev-MDL-40130-let-course-category-caching-be-used' of git://github.com/brki/moodle
This commit is contained in:
commit
f8dcecfd07
1 changed files with 0 additions and 3 deletions
|
@ -1871,9 +1871,6 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
|
|||
// Check if we cached the complete list of user-accessible category names ($baselist) or list of ids with requried cap ($thislist).
|
||||
$basecachekey = 'catlist';
|
||||
$baselist = $coursecatcache->get($basecachekey);
|
||||
if ($baselist !== false) {
|
||||
$baselist = false;
|
||||
}
|
||||
$thislist = false;
|
||||
if (!empty($requiredcapability)) {
|
||||
$requiredcapability = (array)$requiredcapability;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue