Skip to content

Commit

Permalink
Merge pull request #32 from mindbox-moscow/MBM-144
Browse files Browse the repository at this point in the history
remove logs
  • Loading branch information
MaximBurcev authored Aug 30, 2021
2 parents 5b04a00 + f3fe960 commit 65735c1
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 65735c1

Please sign in to comment.