| 10 | using namespace icinga; |
| 11 | |
| 12 | static void ConfigObjectModifyAttribute(const String& attr, const Value& value) |
| 13 | { |
| 14 | ScriptFrame *vframe = ScriptFrame::GetCurrentFrame(); |
| 15 | ConfigObject::Ptr self = vframe->Self; |
| 16 | REQUIRE_NOT_NULL(self); |
| 17 | return self->ModifyAttribute(attr, value); |
| 18 | } |
| 19 | |
| 20 | static void ConfigObjectRestoreAttribute(const String& attr) |
| 21 | { |
nothing calls this directly
no test coverage detected