Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBurcev committed Jul 14, 2021
1 parent 10fb42d commit f3fe960
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Clients/MindboxClientV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ protected function prepareQueryParams($operation, array $queryParams, $addDevice
*/
private function getDeviceUUID()
{
if (empty($_COOKIE['mindboxDeviceUUID'])) {
$logger = new \Mindbox\Loggers\MindboxFileLogger(__DIR__ . '/getDeviceUUID/');
$message = date('d.m.Y H:i:s');
$logger->error($message, ['$_COOKIE' => $_COOKIE, '$_REQUEST' => $_REQUEST, '$_SERVER' => $_SERVER]);
}
return isset($_COOKIE['mindboxDeviceUUID']) ? $_COOKIE['mindboxDeviceUUID'] : '';
}

Expand Down

0 comments on commit f3fe960

Please sign in to comment.