Skip to content

Commit b8f70d2

Browse files
author
Yevhen Miroshnychenko
committed
MC-19421: Reduce q-ty of Reports Created in /app/*/var/report
1 parent fba65dc commit b8f70d2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pub/errors/processor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,6 @@ public function saveReport(array $reportData): string
507507
}
508508
$this->_setReportData($reportData);
509509

510-
if (!file_exists($this->_reportDir)) {
511-
@mkdir($this->_reportDir, 0777, true);
512-
}
513-
514510
@file_put_contents($this->_reportFile, $this->serializer->serialize($reportData). PHP_EOL);
515511

516512
if (isset($reportData['skin']) && self::DEFAULT_SKIN != $reportData['skin']) {

0 commit comments

Comments
 (0)