Add an option to disable a mysql replicate

Walid Nouh 6 years ago 0

When a mysql replicate is disable in glpi general configuration, the config_db_slave.php file is removed.

By doing so, when the replicate is enabled again, all previous informations are lost.

It would be interesting to add a class parameter to disable the replicate (without removing the file), for example when there's a replication failure and you want to investigate or rebuild a the slave server