mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +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
|
* If this file is present, then we don't recalculate hkeys
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
|
* @since 2.7.5 3.0.0 N°4020
|
||||||
*/
|
*/
|
||||||
public const REBUILD_HKEYS_NEVER= APPROOT.'data/.setup-rebuild-hkeys-never';
|
public const REBUILD_HKEYS_NEVER= APPROOT.'data/.setup-rebuild-hkeys-never';
|
||||||
|
|
||||||
@@ -112,9 +113,9 @@ class MFCompiler
|
|||||||
* @uses \file_exists()
|
* @uses \file_exists()
|
||||||
* @uses REBUILD_HKEYS_NEVER
|
* @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));
|
return (file_exists(static::REBUILD_HKEYS_NEVER));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user