forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-55604 cache: Fix identifier and cacheable_object
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.
- Loading branch information
Showing
4 changed files
with
123 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters