// Removed useless code

This commit is contained in:
Damien Metzger
2013-07-17 11:55:55 +02:00
parent eaa9ae95bf
commit 810120aeb9
2 changed files with 1 additions and 34 deletions
@@ -139,10 +139,6 @@ class AdminCarrierWizardControllerCore extends AdminController
{
$this->fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Carriers:'),
'image' => '../img/admin/delivery.gif'
),
'input' => array(
array(
'type' => 'text',
@@ -198,10 +194,6 @@ class AdminCarrierWizardControllerCore extends AdminController
{
$this->fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Carriers:'),
'image' => '../img/admin/delivery.gif'
),
'input' => array(
array(
'type' => 'shop',
@@ -218,10 +210,6 @@ class AdminCarrierWizardControllerCore extends AdminController
{
$this->fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Carriers:'),
'image' => '../img/admin/delivery.gif'
),
'input' => array(
array(
'type' => 'radio',
@@ -343,10 +331,6 @@ class AdminCarrierWizardControllerCore extends AdminController
{
$this->fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Carriers:'),
'image' => '../img/admin/delivery.gif'
),
'input' => array(
array(
'type' => 'select',
+1 -18
View File
@@ -68,24 +68,7 @@ class AdminShippingControllerCore extends AdminController
<li>'.$this->l('Coupons are not taken into account when calculating free shipping').'</li>
</ul>',
'submit' => array()
),
// Deprecated since 1.5.5
// 'billing' => array(
// 'title' => $this->l('Billing'),
// 'icon' => 'money',
// 'fields' => array(
// 'PS_SHIPPING_METHOD' => array(
// 'title' => $this->l('Billing'),
// 'cast' => 'intval',
// 'type' => 'radio',
// 'choices' => array(
// 0 => $this->l('According to total price'),
// 1 => $this->l('According to total weight')
// ),
// 'validation' => 'isBool'
// ),
// )
// ),
)
);
}