From: Siebrand Mazeland Date: Sun, 17 Nov 2013 21:03:53 +0000 (+0100) Subject: Declare visibility for class properties of LocalisationCacheBulkLoad X-Git-Tag: 1.31.0-rc.0~18056^2~1 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=1e07d64050706b682acfe8410b5409fd5216a1b1;p=lhc%2Fweb%2Fwiklou.git Declare visibility for class properties of LocalisationCacheBulkLoad Mark all as private. Not referenced elsewhere in core or extensions. Change-Id: Ibe0e854f39261053e5147138309c3a4b1944e5fe --- diff --git a/includes/cache/LocalisationCache.php b/includes/cache/LocalisationCache.php index f52cf4e052..2d017b34d2 100644 --- a/includes/cache/LocalisationCache.php +++ b/includes/cache/LocalisationCache.php @@ -1278,19 +1278,19 @@ class LocalisationCacheBulkLoad extends LocalisationCache { * A cache of the contents of data files. * Core files are serialized to avoid using ~1GB of RAM during a recache. */ - var $fileCache = array(); + private $fileCache = array(); /** * Most recently used languages. Uses the linked-list aspect of PHP hashtables * to keep the most recently used language codes at the end of the array, and * the language codes that are ready to be deleted at the beginning. */ - var $mruLangs = array(); + private $mruLangs = array(); /** * Maximum number of languages that may be loaded into $this->data */ - var $maxLoadedLangs = 10; + private $maxLoadedLangs = 10; /** * @param $fileName