[icinga-checkins] icinga.org: icingaweb2-module-director/master: ModifierRegex: allow for empty replacement

git at icinga.org git at icinga.org
Fri Feb 19 02:46:24 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 637a9df3e2b1a8d2694641e6af86c1352ead9152
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=637a9df3e2b1a8d2694641e6af86c1352ead9152

Author: Thomas Gelf <thomas at gelf.net>
Date:   Fri Feb 19 02:45:48 2016 +0100

ModifierRegex: allow for empty replacement

---

 library/Director/PropertyModifier/PropertyModifierRegexReplace.php |    1 -
 1 file changed, 1 deletion(-)

diff --git a/library/Director/PropertyModifier/PropertyModifierRegexReplace.php b/library/Director/PropertyModifier/PropertyModifierRegexReplace.php
index e97db18..9aafb73 100644
--- a/library/Director/PropertyModifier/PropertyModifierRegexReplace.php
+++ b/library/Director/PropertyModifier/PropertyModifierRegexReplace.php
@@ -16,7 +16,6 @@ class PropertyModifierRegexReplace extends PropertyModifierHook
 
         $form->addElement('text', 'replacement', array(
             'label'    => 'Replacement',
-            'required' => true,
         ));
     }
 



More information about the icinga-checkins mailing list