From f8851aa79d3c9a9631ebd0b67dfdde4af93b2698 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 9 Feb 2013 20:37:03 +0100 Subject: [PATCH] Bugfix: host and source groups don't have display names. --- components/compat/compatcomponent.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index dc56bbcf3..1aef5b0fb 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -471,7 +471,6 @@ void CompatComponent::StatusTimerHandler(void) objectfp << "define hostgroup {" << "\n" << "\t" << "hostgroup_name" << "\t" << hg->GetName() << "\n" - << "\t" << "display_name" << "\t" << hg->GetDisplayName() << "\n" << "\t" << "notes_url" << "\t" << hg->GetNotesUrl() << "\n" << "\t" << "action_url" << "\t" << hg->GetActionUrl() << "\n"; @@ -493,7 +492,6 @@ void CompatComponent::StatusTimerHandler(void) objectfp << "define servicegroup {" << "\n" << "\t" << "servicegroup_name" << "\t" << sg->GetName() << "\n" - << "\t" << "display_name" << "\t" << sg->GetDisplayName() << "\n" << "\t" << "notes_url" << "\t" << sg->GetNotesUrl() << "\n" << "\t" << "action_url" << "\t" << sg->GetActionUrl() << "\n"; -- 2.40.0