Author: Martin Gauk
MDL-78297 core: Less cache lookups in deprecated capabilities feature
Avoid use of $cache->has.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=695c74ac60a43d4784cdb418774e284d54c80193
http://github.com/moodle/moodle/commit/695c74ac60a43d4784cdb418774e284d54c80193
- 4.3 en [cachedef_deprecatedcapabilities,core_cache]