mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fix missing media parameter on Requirements::combine_files
Regression from #4136
This commit is contained in:
parent
85c51167c0
commit
b195132407
@ -311,11 +311,12 @@ class Requirements implements Flushable {
|
|||||||
*
|
*
|
||||||
* @param string $combinedFileName Filename of the combined file relative to docroot
|
* @param string $combinedFileName Filename of the combined file relative to docroot
|
||||||
* @param array $files Array of filenames relative to docroot
|
* @param array $files Array of filenames relative to docroot
|
||||||
|
* @param string $media
|
||||||
*
|
*
|
||||||
* @return bool|void
|
* @return bool|void
|
||||||
*/
|
*/
|
||||||
public static function combine_files($combinedFileName, $files) {
|
public static function combine_files($combinedFileName, $files, $media = null) {
|
||||||
self::backend()->combine_files($combinedFileName, $files);
|
self::backend()->combine_files($combinedFileName, $files, $media);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1034,6 +1035,7 @@ class Requirements_Backend {
|
|||||||
*
|
*
|
||||||
* @param string $combinedFileName Filename of the combined file relative to docroot
|
* @param string $combinedFileName Filename of the combined file relative to docroot
|
||||||
* @param array $files Array of filenames relative to docroot
|
* @param array $files Array of filenames relative to docroot
|
||||||
|
* @param string $media
|
||||||
*
|
*
|
||||||
* @return bool|void
|
* @return bool|void
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user