Fix cache key used by SiteSQLStore.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 24 Jan 2013 11:15:54 +0000 (12:15 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 24 Jan 2013 13:58:25 +0000 (14:58 +0100)
commitf556c7f2ae3dc09aa55801d42b8002946b768f92
tree543b358c34208bef3bbb69c0aaefb1593c9ecddd
parentbd6128d7ef879a36181033faaa025a7ca70a4974
Fix cache key used by SiteSQLStore.

This makes sure that SiteSQLStore uses a cache key that includes
information about the serialization structure as well as where the
list of sites was loaded from.

This avoids problems with loading "old" serialized versions from the
cache after an upgrade. It also avoids cache conflicts with site lists
loaded from different places.

Change-Id: I7ad5b8ae63dc24598d41b2f150df7c14105d9f62
includes/site/Site.php
includes/site/SiteList.php
includes/site/SiteSQLStore.php