objectcache: Use singleton cache in newAccelerator()
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 30 Oct 2015 22:22:44 +0000 (22:22 +0000)
committerKrinkle <krinklemail@gmail.com>
Fri, 30 Oct 2015 22:25:37 +0000 (22:25 +0000)
commite970b79d4c42097dfac41abf21d0485f6ed19be4
treec881ccc0a42510931f8e6672e4cb7a96c8043225
parent525dd550654118282697bb37d0d3195228d4395e
objectcache: Use singleton cache in newAccelerator()

It was re-creating objects for each call.

This matches behaviour of newAnything().

Bug: T115729
Change-Id: If12aedae7f9f791eb8e233eb241c12efd2921762
includes/objectcache/ObjectCache.php