Merge branch 'MDL-45184-master' of git://github.com/junpataleta/moodle
authorJun Pataleta <jun@moodle.com>
Tue, 26 May 2020 04:39:24 +0000 (12:39 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 26 May 2020 04:39:24 +0000 (12:39 +0800)
1  2 
lang/en/cache.php
lang/en/deprecated.txt
lib/db/caches.php

Simple merge
@@@ -141,4 -141,5 +141,6 @@@ europe/belfast,core_timezone
  pacific/ponape,core_timezones
  pacific/truk,core_timezones
  pacific/yap,core_timezones
- editsettings,core_badges
++editsettings,core_badges
+ availablelicenses,core_admin
+ managelicenses,core_admin
@@@ -455,11 -455,10 +455,18 @@@ $definitions = array
          'simpledata' => true,
      ],
  
 +    // Cache the grade letters for faster retrival.
 +    'grade_letters' => [
 +        'mode'                   => cache_store::MODE_REQUEST,
 +        'simplekeys'             => true,
 +        'staticacceleration'     => true,
 +        'staticaccelerationsize' => 100
 +    ],
++
+     // Cache for licenses.
+     'license' => [
+         'mode' => cache_store::MODE_APPLICATION,
+         'simplekeys' => false,
+         'simpledata' => false
+     ],
  );