From: Aaron Schulz Date: Tue, 21 Jul 2015 19:52:30 +0000 (-0700) Subject: Added CachingSiteStore APC comments X-Git-Tag: 1.31.0-rc.0~10647 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=46211d468b484cb701147271ea66f872c050bed1;p=lhc%2Fweb%2Fwiklou.git Added CachingSiteStore APC comments Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd --- diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index 9243f12b8b..077dbc0efd 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -168,9 +168,11 @@ class CachingSiteStore implements SiteStore { } /** - * Purges the internal and external cache of the site list, forcing the list + * Purges the internal and external cache of the site list, forcing the list. * of sites to be reloaded. * + * Only use this for testing, as APC is typically used and is per-server + * * @since 1.25 */ public function reset() { @@ -182,6 +184,8 @@ class CachingSiteStore implements SiteStore { /** * Clears the list of sites stored. * + * Only use this for testing, as APC is typically used and is per-server. + * * @see SiteStore::clear() * * @return bool Success