git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14912 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-04-26 14:13:59 +00:00
parent c3585da2a3
commit f38483a4e0
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -2706,12 +2706,12 @@ class ProductCore extends ObjectModel
* @param array $product Array with ordered product (quantity, id_product_attribute if applicable)
* @return mixed Query result
*/
public static function updateQuantity($product, $id_order = null)
public static function updateQuantity()
{
Tools::displayAsDeprecated();
return false;
}
}
/**
* @deprecated since 1.5.0
@@ -2723,12 +2723,12 @@ class ProductCore extends ObjectModel
* @see StockAvailable if you want to manage available quantities for sale on your shop(s)
*
*/
public static function reinjectQuantities(&$orderDetail, $quantity, Context $context = null)
public static function reinjectQuantities()
{
Tools::displayAsDeprecated();
return false;
}
}
public static function isAvailableWhenOutOfStock($out_of_stock)
{
+2 -2
View File
@@ -510,10 +510,10 @@ class AdminShopControllerCore extends AdminController
$this->errors = array_unique($this->errors);
if (count($this->errors) > 0)
{
{
$this->display = 'add';
return;
}
}
// datas to import
$import_data = Tools::getValue('importData');