jenkins-bot has submitted this change and it was merged.

Change subject: Fix-up for I21bb3f08e7f: make 
ResourceLoaderModule::expandRelativePaths public
......................................................................


Fix-up for I21bb3f08e7f: make ResourceLoaderModule::expandRelativePaths public

Change-Id: Iba76d7e788c3ca5457fe462b7fd9ecfaedba50f8
---
M includes/resourceloader/ResourceLoaderModule.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/resourceloader/ResourceLoaderModule.php 
b/includes/resourceloader/ResourceLoaderModule.php
index 5b030d7..7f7aa76 100644
--- a/includes/resourceloader/ResourceLoaderModule.php
+++ b/includes/resourceloader/ResourceLoaderModule.php
@@ -461,7 +461,7 @@
         * @param array $filePaths
         * @return array
         */
-       protected static function getRelativePaths( Array $filePaths ) {
+       public static function getRelativePaths( Array $filePaths ) {
                global $IP;
                return array_map( function ( $path ) use ( $IP ) {
                        return RelPath\getRelativePath( $path, $IP );
@@ -475,7 +475,7 @@
         * @param array $filePaths
         * @return array
         */
-       protected static function expandRelativePaths( Array $filePaths ) {
+       public static function expandRelativePaths( Array $filePaths ) {
                global $IP;
                return array_map( function ( $path ) use ( $IP ) {
                        return RelPath\joinPath( $IP, $path );

-- 
To view, visit https://gerrit.wikimedia.org/r/243086
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba76d7e788c3ca5457fe462b7fd9ecfaedba50f8
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to