// revert multishop declaration in definitions
This commit is contained in:
@@ -56,7 +56,6 @@ class LanguageCore extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'lang',
|
'table' => 'lang',
|
||||||
'primary' => 'id_lang',
|
'primary' => 'id_lang',
|
||||||
'multishop' => true,
|
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32),
|
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32),
|
||||||
'iso_code' => array('type' => self::TYPE_STRING, 'validate' => 'isLanguageIsoCode', 'required' => true, 'size' => 2),
|
'iso_code' => array('type' => self::TYPE_STRING, 'validate' => 'isLanguageIsoCode', 'required' => true, 'size' => 2),
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ class SceneCore extends ObjectModel
|
|||||||
'table' => 'scene',
|
'table' => 'scene',
|
||||||
'primary' => 'id_scene',
|
'primary' => 'id_scene',
|
||||||
'multilang' => true,
|
'multilang' => true,
|
||||||
'multishop' => true,
|
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
|
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ class WarehouseCore extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'warehouse',
|
'table' => 'warehouse',
|
||||||
'primary' => 'id_warehouse',
|
'primary' => 'id_warehouse',
|
||||||
'multishop' => true,
|
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'id_address' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
'id_address' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||||
'reference' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => true, 'size' => 45),
|
'reference' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => true, 'size' => 45),
|
||||||
|
|||||||
Reference in New Issue
Block a user