// Norm
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14912 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-4
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user