From a0e9c9986b1c809bc420414e74efee8de6b0aa7f Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 16 Mar 2018 14:55:30 +0100 Subject: [PATCH] clean(debug): remove multiple debug in centreon --- www/class/centreonMedia.class.php | 2 -- www/class/centreonWidget.class.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/www/class/centreonMedia.class.php b/www/class/centreonMedia.class.php index 24b492501ca..9b18ee9d702 100644 --- a/www/class/centreonMedia.class.php +++ b/www/class/centreonMedia.class.php @@ -185,8 +185,6 @@ private function createDirectory($dirname) $fullPath = $mediaDirectory . '/' . $dirname; - file_put_contents('/tmp/test.txt', $fullPath); - // Create directory if (!is_dir($fullPath)) { mkdir($fullPath); diff --git a/www/class/centreonWidget.class.php b/www/class/centreonWidget.class.php index d3ad9d41a4f..6fd3876a598 100644 --- a/www/class/centreonWidget.class.php +++ b/www/class/centreonWidget.class.php @@ -297,11 +297,9 @@ public function addWidget($params) if ($rowNb != $row) { break; } - file_put_contents('/tmp/debug-layout', "Row " . $row); if (count($cols) < $layout) { sort($cols); for ($i = 0; $i < $layout; $i++) { - file_put_contents('/tmp/debug-layout', "Col " . $i, FILE_APPEND); if ($cols[$i] != $i) { $newPosition = $i . '_' . $rowNb; break;