Make LocalisationCache::getMessagesDirs() public
authorKunal Mehta <legoktm@gmail.com>
Thu, 4 Dec 2014 07:46:47 +0000 (23:46 -0800)
committerKunal Mehta <legoktm@gmail.com>
Thu, 4 Dec 2014 07:46:47 +0000 (23:46 -0800)
So it can be used inside LocalisationUpdate

Change-Id: I2399ddd7fd4462f2c6d1bf81036af451a67c58b1

includes/cache/LocalisationCache.php

index 2c908af..7d5450e 100644 (file)
@@ -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",