[icinga-checkins] icinga.org: icingaweb2-module-director/master: ImportSource: fix settings delete

git at icinga.org git at icinga.org
Thu Feb 18 00:52:38 CET 2016


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

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Feb 17 21:08:16 2016 +0100

ImportSource: fix settings delete

---

 library/Director/Objects/ImportSource.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Objects/ImportSource.php b/library/Director/Objects/ImportSource.php
index 985a02b..29ed106 100644
--- a/library/Director/Objects/ImportSource.php
+++ b/library/Director/Objects/ImportSource.php
@@ -106,7 +106,7 @@ class ImportSource extends DbObject
         }
 
         foreach ($del as $key) {
-            $db->update(
+            $db->delete(
                 'import_source_setting',
                 $db->quoteInto($where, $key)
             );



More information about the icinga-checkins mailing list