From: Kunal Mehta Date: Thu, 4 Dec 2014 07:46:47 +0000 (-0800) Subject: Make LocalisationCache::getMessagesDirs() public X-Git-Tag: 1.31.0-rc.0~13092 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=7fe5b87e8cbb1e94d817a8fea1df54a35620338e;p=lhc%2Fweb%2Fwiklou.git Make LocalisationCache::getMessagesDirs() public So it can be used inside LocalisationUpdate Change-Id: I2399ddd7fd4462f2c6d1bf81036af451a67c58b1 --- 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",