Browse Source

Création de command clean visitor et order #476

develop
Fab 2 years ago
parent
commit
44d1a543c6
3 changed files with 1 additions and 3 deletions
  1. +0
    -1
      Builder/Order/OrderShopBuilder.php
  2. +0
    -1
      Builder/User/VisitorBuilder.php
  3. +1
    -1
      Repository/Order/OrderShopStore.php

+ 0
- 1
Builder/Order/OrderShopBuilder.php View File

@@ -171,7 +171,6 @@ class OrderShopBuilder
}

if (!$cart) {
dump('niche');
$cart = $this->create($section, $user, $visitor);
}


+ 0
- 1
Builder/User/VisitorBuilder.php View File

@@ -49,7 +49,6 @@ class VisitorBuilder
// setCookieVisitor
public function setCookie($response, $cookie): void
{
dump('NICICIIC');
$response->headers->setCookie(
Cookie::create(
$this->parameterBag->get('app.cookie_name_visitor'),

+ 1
- 1
Repository/Order/OrderShopStore.php View File

@@ -671,6 +671,6 @@ class OrderShopStore extends AbstractStore
$query->filterByUserIsNull();
$query->filterByVisitorIsNull();

return $query->limit(50000)->find();
return $query->limit(100000)->find();
}
}

Loading…
Cancel
Save