// stock: add warehouse tab

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9334 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dSevere committed 2011-10-13 16:19:10 +00:00
1 parent bc565999d1
commit f1c26377a5
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -3306,6 +3306,8 @@ class ProductCore extends ObjectModel
/** /**
* Add a stock movement for current product * Add a stock movement for current product
* *
* @deprecated since 1.5.0
*
* @param int $quantity * @param int $quantity
* @param int $id_reason * @param int $id_reason
* @param int $id_product_attribute * @param int $id_product_attribute
@@ -3346,6 +3348,9 @@ class ProductCore extends ObjectModel
return false; return false;
} }
/**
* @deprecated since 1.5.0
*/
public function getStockMvts($id_lang) public function getStockMvts($id_lang)
{ {
return Db::getInstance()->executeS(' return Db::getInstance()->executeS('
+1 -1
View File
@@ -187,4 +187,4 @@ class WarehouseCore extends ObjectModel
return (Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query)); return (Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query));
} }
} }