From 3c1e0ac9f05830aa7da3395b5d46cfe44f2d23b4 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Thu, 1 Oct 2015 17:40:21 -0700 Subject: [PATCH] Fix-up for I21bb3f08e7f: make ResourceLoaderModule::expandRelativePaths public Change-Id: Iba76d7e788c3ca5457fe462b7fd9ecfaedba50f8 --- includes/resourceloader/ResourceLoaderModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index 5b030d7661..7f7aa7668e 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -461,7 +461,7 @@ abstract class ResourceLoaderModule { * @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 @@ abstract class ResourceLoaderModule { * @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 ); -- 2.20.1