Private GIT

Skip to content
Snippets Groups Projects
Commit 3bdcc9ce authored by Kevin Duret's avatar Kevin Duret Committed by Kevin Duret
Browse files

clean(debug): remove multiple debug in centreon (#6138)

parent b1609253
No related branches found
No related tags found
No related merge requests found
......@@ -183,8 +183,6 @@ class CentreonMedia
$fullPath = $mediaDirectory . '/' . $dirname;
file_put_contents('/tmp/test.txt', $fullPath);
// Create directory
if (!is_dir($fullPath)) {
mkdir($fullPath);
......
......
......@@ -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;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment