diff --git a/library/Director/IcingaConfig/IcingaConfigRendered.php b/library/Director/IcingaConfig/IcingaConfigRendered.php index 39580b6e..10649648 100644 --- a/library/Director/IcingaConfig/IcingaConfigRendered.php +++ b/library/Director/IcingaConfig/IcingaConfigRendered.php @@ -26,4 +26,9 @@ class IcingaConfigRendered implements IcingaConfigRenderer { return $this->toConfigString(); } + + public function toLegacyConfigString() + { + return $this->rendered; + } } diff --git a/library/Director/Objects/IcingaArguments.php b/library/Director/Objects/IcingaArguments.php index 9a5ed778..bf9d5cf8 100644 --- a/library/Director/Objects/IcingaArguments.php +++ b/library/Director/Objects/IcingaArguments.php @@ -393,4 +393,9 @@ class IcingaArguments implements Iterator, Countable, IcingaConfigRenderer } } } + + public function toLegacyConfigString() + { + return 'UNSUPPORTED'; + } }