From 47b62726a67f15c7ebe0e37cdc1d3ece52f09fd8 Mon Sep 17 00:00:00 2001 From: Julien Mathis Date: Wed, 21 Oct 2015 13:53:18 +0200 Subject: [PATCH] fix #3837 - remove debug --- www/class/centreonTraps.class.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/www/class/centreonTraps.class.php b/www/class/centreonTraps.class.php index cc7292b21cf..30b517f5495 100644 --- a/www/class/centreonTraps.class.php +++ b/www/class/centreonTraps.class.php @@ -318,13 +318,6 @@ protected function _setServiceRelations($trapId) { FROM service s WHERE s.service_register = '0' AND s.service_id = traps_service_relation.service_id)"); - print("DELETE FROM traps_service_relation - WHERE traps_id = " . $this->_db->escape($trapId). " - AND NOT EXISTS (SELECT s.service_id - FROM service s - WHERE s.service_register = '0' - AND s.service_id = traps_service_relation.service_id)"); - $services = CentreonUtils::mergeWithInitialValues($this->_form, 'services'); $insertStr = ""; $first = true; @@ -343,7 +336,6 @@ protected function _setServiceRelations($trapId) { } if ($insertStr) { $this->_db->query("INSERT INTO traps_service_relation (traps_id, service_id) VALUES $insertStr"); - print("INSERT INTO traps_service_relation (traps_id, service_id) VALUES $insertStr"); } }