Removed useless $wgUseLocalMessageCache check in MessageCache
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Aug 2015 01:31:35 +0000 (18:31 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Aug 2015 01:31:35 +0000 (18:31 -0700)
commit6cdbf82be392ffee30c15a697aa4c46b16e2c6c1
treec79159ba90726b6fe4ad7e57b93af42620eb3cc3
parent0c4d1956d94bd0a3d11250a7c81af9e8491b8490
Removed useless $wgUseLocalMessageCache check in MessageCache

* The localCache member will use CACHE_NONE if this is off,
  so the set()/get() calls are already no-oped
* Also allow using the local cache if $hash is false
  in "stale mode", which handles the case where the hash
  key fell out of memory for some reason more gracefully

Change-Id: Ie12efcd4088a6dc4a4cdd2fd06646f2881df53d7
includes/cache/MessageCache.php