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

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

Merged
merged 1 commit into from
Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions www/class/centreonMedia.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
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 @@ -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;
Expand Down