// 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
+1 -1
View File
@@ -247,7 +247,7 @@ class CustomerCore extends ObjectModel
$obj->delete();
}
Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'customer_group` WHERE `id_customer` = '.(int)$this->id);
Discount::deleteByIdCustomer((int)$this->id);
CartRule::deleteByIdCustomer((int)$this->id);
return parent::delete();
}