#9893 changed constant

This commit is contained in:
Daniel Maya 2023-03-02 11:31:07 +01:00
parent 8c5e59afee
commit 7cb1595b62

View File

@ -1,4 +1,5 @@
<?php <?php
/** /**
* Constants definitions. * Constants definitions.
* *
@ -694,14 +695,10 @@ define('NODE_IMAGE_PADDING', 5);
// Pandora Database HA constants. // Pandora Database HA constants.
define('HA_ACTION_NONE', 0); define('HA_ACTION_NONE', 0);
define('HA_ACTION_DEPLOY', 1); define('HA_ACTION_RESYNC', 1);
define('HA_ACTION_RECOVER', 2);
define('HA_ACTION_PROMOTE', 3);
define('HA_ACTION_DEMOTE', 4);
define('HA_ACTION_DISABLE', 5); define('HA_ACTION_DISABLE', 5);
define('HA_ACTION_ENABLE', 6); define('HA_ACTION_ENABLE', 6);
define('HA_ACTION_CLEANUP', 7);
define('HA_ACTION_RESYNC', 8);
define('HA_UNINITIALIZED', 0); define('HA_UNINITIALIZED', 0);
define('HA_ONLINE', 1); define('HA_ONLINE', 1);
@ -865,4 +862,4 @@ define(
// Pandora FMS Enterprise license. // Pandora FMS Enterprise license.
define('LICENSE_FILE', 'customer_key'); define('LICENSE_FILE', 'customer_key');
// Pandora HA database list. // Pandora HA database list.
define('PANDORA_HA_FILE', 'pandora_ha_dbs.conf'); define('PANDORA_HA_FILE', 'pandora_ha_hosts.conf');