mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
7ff43e1acf
When a cachable object is store in the static cache from the backing store, it was incorrect serialised rather than using the wake function. This has been resolved and tests added. During the investigation into cacheable_object, it was discovered that set_identifiers never removes identifiers when you call it, so set_identifiers(array('a')) and set_identifiers(array('b')) really resulted in array('a','b') as the identifiers rather than 'b'. The fix for this issue depends on the set_identifiers fix and they have been coupled together as a result.