* Remove useless codes.

This commit is contained in:
liugang
2022-10-08 15:30:37 +08:00
parent 1670e654c9
commit 65e0211cc8
-1
View File
@@ -876,7 +876,6 @@ class productModel extends model
public function close($productID)
{
$oldProduct = $this->getById($productID);
$now = helper::now();
$product = fixer::input('post')
->add('id', $productID)
->setDefault('status', 'closed')