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-72837 core_cache: Remove duplicated code in cache_session
I checked using a diff tool and the difference between 'get' in cache and cache_session is only: a) cache_session: call to check_tracked_user at the start b) cache: Includes code to use static acceleration (but this would not run anyway in cache_session because use_static_acceleration returns false) c) cache: $setaftervalidation logic is used so that it sets it slightly later (I can't see how this would make any difference) d) cache_session: uses functions eg get_store() instead of variables $store; those functions aren't overridden. This seems like a ridiculous duplication of very complicated code, so I'm going to remove the duplication before I change it.
- Loading branch information
1 parent
416e0bc
commit 9777852
Showing
1 changed file
with
3 additions
and
54 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