Remove remaining parameters named targetIe

This commit is contained in:
Kijin Sung 2025-06-03 15:37:23 +09:00
parent 0e5797882f
commit d0ba53407c

View file

@ -205,13 +205,13 @@ class FrontEndFileHandler extends Handler
* Get file information * Get file information
* *
* @param string $fileName The file name * @param string $fileName The file name
* @param string $targetIe Target IE of file * @param string $unused Formerly targetIe
* @param string $media Media of file * @param string $media Media of file
* @param array $vars Variables for LESS and SCSS * @param array $vars Variables for LESS and SCSS
* @param bool $forceMinify Whether this file should be minified * @param bool $forceMinify Whether this file should be minified
* @return stdClass The file information * @return stdClass The file information
*/ */
protected function getFileInfo($fileName, $targetIe = '', $media = 'all', $vars = array(), $isCommon = false) protected function getFileInfo($fileName, $unused = '', $media = 'all', $vars = array(), $isCommon = false)
{ {
$pathInfo = pathinfo($fileName); $pathInfo = pathinfo($fileName);
@ -423,13 +423,13 @@ class FrontEndFileHandler extends Handler
* Unload front end file * Unload front end file
* *
* @param string $fileName The file name to unload * @param string $fileName The file name to unload
* @param string $targetIe Target IE of file to unload * @param string $unused Formerly targetIe
* @param string $media Media of file to unload. Only use when file is css. * @param string $media Media of file to unload. Only use when file is css.
* @return void * @return void
*/ */
public function unloadFile($fileName, $targetIe = '', $media = 'all') public function unloadFile($fileName, $unused = '', $media = 'all')
{ {
$file = $this->getFileInfo($fileName, $targetIe, $media); $file = $this->getFileInfo($fileName, $unused, $media);
if($file->fileExtension == 'css') if($file->fileExtension == 'css')
{ {