From: Ori Livneh Date: Fri, 2 Oct 2015 00:40:21 +0000 (-0700) Subject: Fix-up for I21bb3f08e7f: make ResourceLoaderModule::expandRelativePaths public X-Git-Tag: 1.31.0-rc.0~9592^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=3c1e0ac9f05830aa7da3395b5d46cfe44f2d23b4;p=lhc%2Fweb%2Fwiklou.git Fix-up for I21bb3f08e7f: make ResourceLoaderModule::expandRelativePaths public Change-Id: Iba76d7e788c3ca5457fe462b7fd9ecfaedba50f8 --- 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 );