// A few deprecated methods still in use

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17562 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-09-26 13:10:21 +00:00
parent 5a57d5851c
commit 0050c43675
2 changed files with 3 additions and 3 deletions
@@ -681,7 +681,7 @@ class AdminCustomersControllerCore extends AdminController
'addresses' => $customer->getAddresses($this->default_form_language),
// Discounts
'discounts' => Discount::getCustomerDiscounts($this->default_form_language, $customer->id, false, false),
'discounts' => CartRule::getCustomerCartRules($this->default_form_language, $customer->id, false, false),
// Carts
'carts' => $carts,
@@ -705,7 +705,7 @@ class AdminCustomersControllerCore extends AdminController
if ($this->delete_mode == 'real')
{
$this->deleted = false;
Discount::deleteByIdCustomer((int)Tools::getValue('id_customer'));
CartRule::deleteByIdCustomer((int)Tools::getValue('id_customer'));
}
elseif ($this->delete_mode == 'deleted')
$this->deleted = true;