Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
clean(debug): remove multiple debug in centreon (#6138)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Mar 16, 2018
1 parent b160925 commit 3bdcc9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions www/class/centreonMedia.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ private function createDirectory($dirname)

$fullPath = $mediaDirectory . '/' . $dirname;

file_put_contents('/tmp/test.txt', $fullPath);

// Create directory
if (!is_dir($fullPath)) {
mkdir($fullPath);
Expand Down
2 changes: 0 additions & 2 deletions www/class/centreonWidget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,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;
Expand Down

0 comments on commit 3bdcc9c

Please sign in to comment.