From 3bdcc9ceb467e406b4cadded146758cf4ca47bef Mon Sep 17 00:00:00 2001
From: Kevin Duret <duret.kevin@gmail.com>
Date: Fri, 16 Mar 2018 15:05:06 +0100
Subject: [PATCH] clean(debug): remove multiple debug in centreon (#6138)

---
 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 04ad7e8443..e2dca573f3 100644
--- a/www/class/centreonMedia.class.php
+++ b/www/class/centreonMedia.class.php
@@ -183,8 +183,6 @@ class CentreonMedia
 
         $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 f7fc1e85d3..e1a2b18174 100644
--- a/www/class/centreonWidget.class.php
+++ b/www/class/centreonWidget.class.php
@@ -294,11 +294,9 @@ class CentreonWidget
             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;
-- 
GitLab