mirror of https://github.com/Icinga/icinga2.git
parent
8e265b7b7f
commit
aef7c487cf
|
@ -33,6 +33,7 @@
|
|||
#include "base/scriptvariable.hpp"
|
||||
#include "base/configerror.hpp"
|
||||
#include "base/convert.hpp"
|
||||
#include "base/objectlock.hpp"
|
||||
#include <boost/foreach.hpp>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -171,11 +172,9 @@ public:
|
|||
item->SetAbstract(abstract);
|
||||
item->SetScope(context);
|
||||
item->SetZone(zone);
|
||||
item->SetFilter(filter);
|
||||
item->Compile()->Register();
|
||||
|
||||
if (filter)
|
||||
ObjectRule::AddRule(type, name, filter, debugInfo, context);
|
||||
|
||||
return Empty;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue