Revert "Faster compilation of themes"

This commit is contained in:
odain-cbd
2020-08-07 16:20:12 +02:00
committed by GitHub
parent c3b9c6963e
commit 7b8c390a80
97 changed files with 39 additions and 17718 deletions

View File

@@ -1860,13 +1860,17 @@ class utils
}
/**
* @deprecated
* @param string $sModuleName
* @return string|NULL compiled version of a given module, as it was seen by the compiler
*/
public static function GetCompiledModuleVersion($sModuleName)
{
return static::GetCacheBusterTimestamp();
$aModulesInfo = GetModulesInfo();
if (array_key_exists($sModuleName, $aModulesInfo))
{
return $aModulesInfo[$sModuleName]['version'];
}
return null;
}
/**