Skip to content

Commit ac3377a

Browse files
committed
TASJ: Fix CGL issues
1 parent fae03d3 commit ac3377a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Classes/ErrorHandling/FileStorage.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121
class FileStorage implements ErrorStorageInterface
2222
{
23-
2423
public function __construct()
2524
{
2625
if (!file_exists(FLOW_PATH_DATA . 'Logs/Elasticsearch')) {
@@ -37,7 +36,6 @@ public function __construct()
3736
*/
3837
public function logErrorResult(array $errorResult): string
3938
{
40-
4139
$referenceCode = date('YmdHis', $_SERVER['REQUEST_TIME']) . substr(md5((string)rand()), 0, 6);
4240

4341
$filename = FLOW_PATH_DATA . 'Logs/Elasticsearch/' . $referenceCode . '.txt';
@@ -61,5 +59,4 @@ protected function renderErrorResult(array $errorResult): string
6159
$error = json_encode($errorResult, JSON_PRETTY_PRINT);
6260
return sprintf("Error:\n=======\n\n%s\n\n", $error);
6361
}
64-
6562
}

0 commit comments

Comments
 (0)