From: Siebrand Mazeland Date: Mon, 25 Nov 2013 13:22:25 +0000 (+0100) Subject: Set visibility of 2 properties to public X-Git-Tag: 1.31.0-rc.0~17911 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=9eafc3f0a552efd4334f1c5fec69e527b597680a;p=lhc%2Fweb%2Fwiklou.git Set visibility of 2 properties to public Set visibility of $fetchDescription and $descriptionCacheExpiry to public. These two class properties are directly referenced outside an inheritance scope. Bug: 57535 Change-Id: I4e91418f1e2374ebe83ea4310d13ad254fc3dac1 --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 8235344856..d26191c170 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -71,7 +71,7 @@ class FileRepo { protected $articleUrl; /** @var bool Whether to fetch commons image description pages and display them on the local wiki */ - protected $fetchDescription; + public $fetchDescription; /** @var bool Equivalent to $wgCapitalLinks (or $wgCapitalLinkOverrides[NS_FILE], * determines whether filenames implicitly start with a capital letter. @@ -88,7 +88,7 @@ class FileRepo { protected $pathDisclosureProtection = 'simple'; /** @var int */ - protected $descriptionCacheExpiry; + public $descriptionCacheExpiry; /** @var bool Public zone URL. */ protected $url;