diff --git a/classes/Product.php b/classes/Product.php index 5973edff8..b57b1e3f9 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -3306,6 +3306,8 @@ class ProductCore extends ObjectModel /** * Add a stock movement for current product * + * @deprecated since 1.5.0 + * * @param int $quantity * @param int $id_reason * @param int $id_product_attribute @@ -3346,6 +3348,9 @@ class ProductCore extends ObjectModel return false; } + /** + * @deprecated since 1.5.0 + */ public function getStockMvts($id_lang) { return Db::getInstance()->executeS(' diff --git a/classes/stock/Warehouse.php b/classes/stock/Warehouse.php index b644dda9a..ae1817fdc 100644 --- a/classes/stock/Warehouse.php +++ b/classes/stock/Warehouse.php @@ -187,4 +187,4 @@ class WarehouseCore extends ObjectModel return (Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)); } -} \ No newline at end of file +}