mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 14:58:43 +02:00
N°4020 - timeout on updating the hierarchical key during setup - php 5.6 compatibility
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user