Switch the sidebar cache to using checkKeys
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Feb 2018 11:50:29 +0000 (03:50 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Feb 2018 12:10:39 +0000 (04:10 -0800)
commitcf54d68968e69df20342400f82cfd9f1eedf3711
tree79e6c8a6212622caadc5f3f6d2eca3f0ff1e8940
parent4dd733cdcbf0f9959aa2a6a7ab8912e175aebfdd
Switch the sidebar cache to using checkKeys

The avoids the long delete() loop in MessageCache::replace()
and has better separation of concern.

Change-Id: I0acb0119058fa92fcafb52a5850f5dad4aaa94d2
includes/cache/MessageCache.php
includes/skins/Skin.php