tmp work: save timestamp + few fixes

This commit is contained in:
odain
2020-07-21 23:22:50 +02:00
parent 307713d326
commit 08414296b6
4 changed files with 84 additions and 17 deletions

View File

@@ -1864,7 +1864,12 @@ class utils
*/
public static function GetCompiledModuleVersion($sModuleName)
{
return static::GetCacheBusterTimestamp();
$aModulesInfo = GetModulesInfo();
if (array_key_exists($sModuleName, $aModulesInfo))
{
return $aModulesInfo[$sModuleName]['version'];
}
return null;
}
/**