Clear shallowFallbacks in LocalisationCache::unload
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 1 Jul 2013 20:31:53 +0000 (16:31 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 1 Jul 2013 20:53:29 +0000 (16:53 -0400)
commit316bbe97ca6e0dbba92693369d8f63b3a36a9f1a
tree162cbb4d3dabdcf70c8bfd4240d64bef16ef9813
parentac28cb89145233cb5122ff7d591e57e5f186521c
Clear shallowFallbacks in LocalisationCache::unload

When a language code is unloaded, it also needs to clear the
shallowFallbacks entry. Otherwise the next time that language is used it
will incorrectly think that the other setup done by initShallowFallbacks
is still set up, leading to warnings.

Change-Id: Idf6a78f56a3bb864cc921427ac82972594610047
includes/cache/LocalisationCache.php