mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-19 13:55:26 +00:00
Update Cart.php
This commit is contained in:
@@ -645,8 +645,7 @@ class Cart
|
||||
return;
|
||||
}
|
||||
|
||||
$this->getConnection()->table($this->getTableName())
|
||||
->where('identifier', $identifier)->delete();
|
||||
$this->getConnection()->table($this->getTableName())->where('identifier', $identifier)->delete();
|
||||
|
||||
$this->events->dispatch('cart.erased');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user