[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaObjectImports: set modified on clear

git at icinga.org git at icinga.org
Thu May 19 16:38:10 CEST 2016


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

Author: Markus Frosch <lazyfrosch at icinga.org>
Date:   Thu May 19 10:55:37 2016 +0200

IcingaObjectImports: set modified on clear

Imports could not have been set empty because of this

---

 library/Director/Objects/IcingaObjectImports.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/library/Director/Objects/IcingaObjectImports.php b/library/Director/Objects/IcingaObjectImports.php
index e8d936f..ce1ef07 100644
--- a/library/Director/Objects/IcingaObjectImports.php
+++ b/library/Director/Objects/IcingaObjectImports.php
@@ -105,6 +105,7 @@ class IcingaObjectImports implements Iterator, Countable, IcingaConfigRenderer
         }
 
         $this->imports = array();
+        $this->modified = true;
         return $this->add($import);
     }
 



More information about the icinga-checkins mailing list