mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
parent
124c80beab
commit
72facb1be0
@ -49,9 +49,11 @@ void DbConnection::OnConfigLoaded(void)
|
|||||||
Value categories = GetCategories();
|
Value categories = GetCategories();
|
||||||
|
|
||||||
//TODO: Remove 'cat1 | cat2' notation in 2.6
|
//TODO: Remove 'cat1 | cat2' notation in 2.6
|
||||||
if (categories.IsNumber())
|
if (categories.IsNumber()) {
|
||||||
SetCategoryFilter(categories);
|
SetCategoryFilter(categories);
|
||||||
else
|
Log(LogWarning, "DbConnection")
|
||||||
|
<< "Specifying flags using '|' for 'categories' is deprecated. This functionality will be removed in 2.6.0. Please use an array.";
|
||||||
|
} else
|
||||||
SetCategoryFilter(FilterArrayToInt(categories, DbQuery::GetCategoryFilterMap(), DbCatEverything));
|
SetCategoryFilter(FilterArrayToInt(categories, DbQuery::GetCategoryFilterMap(), DbCatEverything));
|
||||||
|
|
||||||
if (!GetEnableHa()) {
|
if (!GetEnableHa()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user