// A few deprecated methods still in use

This commit is contained in:
dMetzger
2012-09-26 13:10:21 +00:00
parent b0f6579883
commit 2f48635db5
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();
}