MDL-67585 core: add course content item cache
To be indexed by userid_courseid.
This commit is contained in:
@@ -79,6 +79,7 @@ $string['cachedef_tags'] = 'Tags collections and areas';
|
||||
$string['cachedef_temp_tables'] = 'Temporary tables cache';
|
||||
$string['cachedef_userselections'] = 'Data used to persist user selections throughout Moodle';
|
||||
$string['cachedef_user_group_groupings'] = 'User\'s groupings and groups per course';
|
||||
$string['cachedef_user_course_content_items'] = 'User\'s content items (activities, resources and their subtypes) per course';
|
||||
$string['cachedef_yuimodules'] = 'YUI Module definitions';
|
||||
$string['cachelock_file_default'] = 'Default file locking';
|
||||
$string['cachestores'] = 'Cache stores';
|
||||
|
||||
@@ -415,4 +415,10 @@ $definitions = array(
|
||||
'simplekeys' => false,
|
||||
'simpledata' => false,
|
||||
],
|
||||
|
||||
// The list of content items (activities, resources and their subtypes) that can be added to a course for a user.
|
||||
'user_course_content_items' => [
|
||||
'mode' => cache_store::MODE_REQUEST,
|
||||
'simplekeys' => true,
|
||||
],
|
||||
);
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2020021400.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2020021400.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '3.9dev (Build: 20200214)'; // Human-friendly version name
|
||||
|
||||
Reference in New Issue
Block a user