mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
parent
d7903ba800
commit
dcfda534b1
@ -52,7 +52,9 @@ void DbConnection::OnConfigLoaded(void)
|
|||||||
if (categories.IsNumber()) {
|
if (categories.IsNumber()) {
|
||||||
SetCategoryFilter(categories);
|
SetCategoryFilter(categories);
|
||||||
Log(LogWarning, "DbConnection")
|
Log(LogWarning, "DbConnection")
|
||||||
<< "Specifying flags using '|' for 'categories' is deprecated. This functionality will be removed in 2.6.0. Please use an array.";
|
<< "Specifying flags using '|' for 'categories' for object '" << GetName()
|
||||||
|
<< "' of type '" << GetType()->GetName() << "'"
|
||||||
|
<< " is deprecated. This functionality will be removed in 2.6.0. Please use an array.";
|
||||||
} else
|
} else
|
||||||
SetCategoryFilter(FilterArrayToInt(categories, DbQuery::GetCategoryFilterMap(), DbCatEverything));
|
SetCategoryFilter(FilterArrayToInt(categories, DbQuery::GetCategoryFilterMap(), DbCatEverything));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user