moodle/cache/classes
Andrew Nicols db8377b53e MDL-70137 cache: Use sensible default when reading MUC config
When we read the MUC configuration, a file which exists but is empty
will not error, but will cause all configuration to be empty.

We already perform an {{is_array()}} check on the {{$configuration}}
variable, but the default value for {{$configuration}} is an empty
array. In the case where the file exists, but is empty, no errors occur
when the file is loaded, and the initial {{$configuration}} value is
not overwritten, leading to the file being replaced with an empty copy.
2020-11-06 19:15:34 +00:00
..
local MDL-41492 cache: Added ability for alternate cache config 2020-09-28 15:12:33 +10:00
privacy MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
administration_helper.php MDL-68440 cache: Added counting of default mappings 2020-10-12 11:41:00 +10:00
config.php MDL-70137 cache: Use sensible default when reading MUC config 2020-11-06 19:15:34 +00:00
definition.php Merge branch 'MDL-55267-master-deprecation' of https://github.com/marcusgreen/moodle 2017-03-21 10:18:56 +01:00
dummystore.php MDL-56273 cache: Fixed initialise call 2016-11-02 14:26:50 +08:00
factory.php MDL-41492 cache: Added ability for alternate cache config 2020-09-28 15:12:33 +10:00
helper.php MDL-41492 cache: Added ability for alternate cache config 2020-09-28 15:12:33 +10:00
interfaces.php MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
loaders.php MDL-42012 cache: Allow data sources to work when caching is disabled 2020-09-09 13:59:41 +08:00
store.php MDL-68329 cache: Improve cache performance footer info 2020-04-28 10:08:28 +10:00