objectcache: Make MemcachedBagOStuff::makeKeyInternal always have a key class
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 21 Nov 2017 00:04:38 +0000 (16:04 -0800)
committerKrinkle <krinklemail@gmail.com>
Tue, 21 Nov 2017 02:45:01 +0000 (02:45 +0000)
commit67072948b6210b836e864ed6096b16027caeb300
treecf9cf9929232c1208879c5e17eeb54c13df437f5
parent09ba8f4cbef8606e95b407cf370b270e5153b2b5
objectcache: Make MemcachedBagOStuff::makeKeyInternal always have a key class

Even if a key is too long and shortened, it should still have some key class.

Change-Id: I006b6b03ad1302e9e49362bbd051332bc6105837
includes/libs/objectcache/MemcachedBagOStuff.php
tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php