diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index b90ad0950..86651be98 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -61,30 +61,32 @@ class ShopCore extends ObjectModel protected static $shops; private static $asso_tables = array( - 'carrier' => array('type' => 'shop'), - 'carrier_lang' => array('type' => 'fk_shop'), - 'category_lang' => array('type' => 'fk_shop'), - 'cms' => array('type' => 'shop'), - 'contact' => array('type' => 'shop'), - 'country' => array('type' => 'shop'), - 'currency' => array('type' => 'shop'), - 'employee' => array('type' => 'shop'), - 'hook_module' => array('type' => 'fk_shop'), + 'carrier' => array('type' => 'shop'), + 'carrier_lang' => array('type' => 'fk_shop'), + 'category_lang' => array('type' => 'fk_shop'), + 'cms' => array('type' => 'shop'), + 'contact' => array('type' => 'shop'), + 'country' => array('type' => 'shop'), + 'currency' => array('type' => 'shop'), + 'employee' => array('type' => 'shop'), + 'hook_module' => array('type' => 'fk_shop'), 'hook_module_exceptions' => array('type' => 'fk_shop', 'primary' => 'id_hook_module_exceptions'), - 'image' => array('type' => 'shop'), - 'lang' => array('type' => 'shop'), - 'meta_lang' => array('type' => 'fk_shop'), - 'module' => array('type' => 'shop'), - 'module_currency' => array('type' => 'fk_shop'), - 'module_country' => array('type' => 'fk_shop'), - 'module_group' => array('type' => 'fk_shop'), - 'product' => array('type' => 'shop'), - 'product_lang' => array('type' => 'fk_shop'), - 'referrer' => array('type' => 'shop'), - 'scene' => array('type' => 'shop'), - 'store' => array('type' => 'shop'), - 'zone_shop' => array('type' => 'shop'), - 'webservice_account' => array('type' => 'shop'), + 'image' => array('type' => 'shop'), + 'lang' => array('type' => 'shop'), + 'meta_lang' => array('type' => 'fk_shop'), + 'module' => array('type' => 'shop'), + 'module_currency' => array('type' => 'fk_shop'), + 'module_country' => array('type' => 'fk_shop'), + 'module_group' => array('type' => 'fk_shop'), + 'product' => array('type' => 'shop'), + 'product_lang' => array('type' => 'fk_shop'), + 'referrer' => array('type' => 'shop'), + 'scene' => array('type' => 'shop'), + 'store' => array('type' => 'shop'), + 'zone_shop' => array('type' => 'shop'), + 'webservice_account' => array('type' => 'shop'), + 'warehouse' => array('type' => 'shop'), + 'stock_available' => array('type' => 'fk_shop'), ); protected $webserviceParameters = array( diff --git a/classes/stock/StockAvailable.php b/classes/stock/StockAvailable.php index 118cb82ef..4a10b2f43 100644 --- a/classes/stock/StockAvailable.php +++ b/classes/stock/StockAvailable.php @@ -293,7 +293,7 @@ class StockAvailableCore extends ObjectModel } /** - * Remove a given product from the stock available + * Removes a given product from the stock available * * @param int $id_product * @param int $id_product_attribute Optional