mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4176 from tractorcow/pulls/3.1/fix-combine-media
Fix missing media parameter on Requirements::combine_files
This commit is contained in:
commit
2ea8dd86e1
@ -311,11 +311,12 @@ class Requirements implements Flushable {
|
||||
*
|
||||
* @param string $combinedFileName Filename of the combined file relative to docroot
|
||||
* @param array $files Array of filenames relative to docroot
|
||||
* @param string $media
|
||||
*
|
||||
* @return bool|void
|
||||
*/
|
||||
public static function combine_files($combinedFileName, $files) {
|
||||
self::backend()->combine_files($combinedFileName, $files);
|
||||
public static function combine_files($combinedFileName, $files, $media = null) {
|
||||
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 array $files Array of filenames relative to docroot
|
||||
* @param string $media
|
||||
*
|
||||
* @return bool|void
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user