From 9eafc3f0a552efd4334f1c5fec69e527b597680a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 25 Nov 2013 14:22:25 +0100 Subject: [PATCH] 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 --- includes/filerepo/FileRepo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1