update schema.xml file

This commit is contained in:
Manuel Raynaud
2013-08-16 11:21:57 +02:00
parent bc57e884ad
commit 115a7dd893
2 changed files with 22 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ class CustomerController extends BaseFrontController
public function createAction()
{
$request = $this->getRequest();
$customerCreation = new CustomerCreation($$request);
$customerCreation = new CustomerCreation($request);
try {
$form = $this->validateForm($customerCreation, "post");
@@ -62,9 +62,9 @@ class CustomerController extends BaseFrontController
$data["email"],
$data["password"],
$request->getSession()->getLang(),
$data["reseller"],
$data["sponsor"],
$data["discount"]
isset($data["reseller"])?$data["reseller"]:null,
isset($data["sponsor"])?$data["sponsor"]:null,
isset($data["discount"])?$data["discount"]:nullsch
);
$this->getDispatcher()->dispatch(TheliaEvents::CUSTOMER_CREATEACCOUNT, $customerCreateEvent);

View File

@@ -460,10 +460,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="product" name="fk_product_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="product" name="fk_product_image_product_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="product_id" />
</foreign-key>
<index name="idx_product_id">
<index name="idx_product_image_product_id">
<index-column name="product_id" />
</index>
<behavior name="timestampable" />
@@ -480,10 +480,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="product" name="fk_product_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="product" name="fk_product_document_product_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="product_id" />
</foreign-key>
<index name="idx_product_id">
<index name="idx_product_document_product_id">
<index-column name="product_id" />
</index>
<behavior name="timestampable" />
@@ -975,10 +975,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="category" name="fk_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="category" name="fk_category_image_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="category_id" />
</foreign-key>
<index name="idx_category_id">
<index name="idx_category_image_category_id">
<index-column name="category_id" />
</index>
<behavior name="timestampable" />
@@ -995,10 +995,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="folder" name="fk_folder_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="folder" name="fk_folder_image_folder_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="folder_id" />
</foreign-key>
<index name="idx_folder_id">
<index name="idx_folder_image_folder_id">
<index-column name="folder_id" />
</index>
<behavior name="timestampable" />
@@ -1015,10 +1015,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="content" name="fk_content_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="content" name="fk_content_image_content_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="content_id" />
</foreign-key>
<index name="idx_content_id">
<index name="idx_content_image_content_id">
<index-column name="content_id" />
</index>
<behavior name="timestampable" />
@@ -1035,10 +1035,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="category" name="fk_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="category" name="fk_catgory_document_category_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="category_id" />
</foreign-key>
<index name="idx_category_id">
<index name="idx_category_document_category_id">
<index-column name="category_id" />
</index>
<behavior name="timestampable" />
@@ -1055,10 +1055,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="content" name="fk_content_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="content" name="fk_content_document_content_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="content_id" />
</foreign-key>
<index name="idx_content_id">
<index name="idx_content_document_content_id">
<index-column name="content_id" />
</index>
<behavior name="timestampable" />
@@ -1075,10 +1075,10 @@
<column name="description" type="CLOB" />
<column name="chapo" type="LONGVARCHAR" />
<column name="postscriptum" type="LONGVARCHAR" />
<foreign-key foreignTable="folder" name="fk_folder_id" onDelete="CASCADE" onUpdate="RESTRICT">
<foreign-key foreignTable="folder" name="fk_folder_document_folder_id" onDelete="CASCADE" onUpdate="RESTRICT">
<reference foreign="id" local="folder_id" />
</foreign-key>
<index name="idx_folder_id">
<index name="idx_folder_document_folder_id">
<index-column name="folder_id" />
</index>
<behavior name="timestampable" />