N°4020 - timeout on updating the hierarchical key during setup - php 5.6 compatibility

This commit is contained in:
acognet
2021-06-28 13:55:41 +02:00
parent 8259a79cd2
commit 8b9589744b

View File

@@ -56,6 +56,7 @@ class MFCompiler
* If this file is present, then we don't recalculate hkeys
*
* @var string
* @since 2.7.5 3.0.0 N°4020
*/
public const REBUILD_HKEYS_NEVER= APPROOT.'data/.setup-rebuild-hkeys-never';
@@ -112,9 +113,9 @@ class MFCompiler
* @uses \file_exists()
* @uses REBUILD_HKEYS_NEVER
*
* @since 2.7.5
* @since 2.7.5 3.0.0
*/
public static function SkipRebuildHKeys(): bool
public static function SkipRebuildHKeys()
{
return (file_exists(static::REBUILD_HKEYS_NEVER));
}