From 7fe5b87e8cbb1e94d817a8fea1df54a35620338e Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 3 Dec 2014 23:46:47 -0800 Subject: [PATCH] Make LocalisationCache::getMessagesDirs() public So it can be used inside LocalisationUpdate Change-Id: I2399ddd7fd4462f2c6d1bf81036af451a67c58b1 --- includes/cache/LocalisationCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/cache/LocalisationCache.php b/includes/cache/LocalisationCache.php index 2c908aff26..7d5450e7ea 100644 --- a/includes/cache/LocalisationCache.php +++ b/includes/cache/LocalisationCache.php @@ -799,7 +799,7 @@ class LocalisationCache { * @since 1.25 * @return array */ - protected function getMessagesDirs() { + public function getMessagesDirs() { global $wgMessagesDirs, $IP; return array( 'core' => "$IP/languages/i18n", -- 2.20.1