N°2982 - Speed up SCSS themes compilation during setup (removed dev bypass)

This commit is contained in:
Eric
2021-03-23 14:38:08 +01:00
parent 4534944b08
commit fc0bac6726

View File

@@ -2914,9 +2914,6 @@ EOF;
* @return string : file path of latest precompiled file to use for setup
*/
public function UseLatestPrecompiledFile(string $sTempTargetDir, string $sPrecompiledFileUri, $sPostCompilationLatestPrecompiledFile, $sThemeId) : ?string {
if (utils::IsDevelopmentEnvironment()) {
return null;
}
$bDataXmlPrecompiledFileExists = false;
clearstatcache();
if (!empty($sPrecompiledFileUri)){