// Remove $langMultiShop from all classes, and add 'multishop' in $definition instead

This commit is contained in:
rMalie
2011-12-05 15:04:09 +00:00
parent 6b6c767b60
commit 9b0ff79c90
5 changed files with 19 additions and 20 deletions
+1 -2
View File
@@ -110,8 +110,6 @@ class CarrierCore extends ObjectModel
/** @var int grade of the shipping delay (0 for longest, 9 for shortest) */
public $grade;
protected $langMultiShop = true;
protected $fieldsRequired = array('name', 'active');
protected $fieldsSize = array('name' => 64, 'grade' => 1);
protected $fieldsValidate = array('id_tax_rules_group' => 'isInt', 'name' => 'isCarrierName', 'active' => 'isBool',
@@ -126,6 +124,7 @@ class CarrierCore extends ObjectModel
'table' => 'carrier',
'primary' => 'id_carrier',
'multilang' => true,
'multishop' => true,
);
protected static $price_by_weight = array();