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