mirror of https://github.com/Icinga/icinga2.git
parent
4a077c9ceb
commit
2f8b49f4ef
|
@ -311,7 +311,12 @@ void DbConnection::UpdateAllObjects(void)
|
||||||
|
|
||||||
void DbConnection::PrepareDatabase(void)
|
void DbConnection::PrepareDatabase(void)
|
||||||
{
|
{
|
||||||
/* TODO make hardcoded table names modular */
|
/*
|
||||||
|
* only clear tables on reconnect which
|
||||||
|
* cannot be updated by their existing ids
|
||||||
|
* for details check https://dev.icinga.org/issues/5565
|
||||||
|
*/
|
||||||
|
|
||||||
//ClearConfigTable("commands");
|
//ClearConfigTable("commands");
|
||||||
ClearConfigTable("comments");
|
ClearConfigTable("comments");
|
||||||
ClearConfigTable("contact_addresses");
|
ClearConfigTable("contact_addresses");
|
||||||
|
|
Loading…
Reference in New Issue