// small fix
This commit is contained in:
1 parent
d15af86f03
commit
50042ff22d
1 file changed
+1
-1
@@ -274,7 +274,7 @@ class CustomerCore extends ObjectModel
|
|||||||
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'customer_message WHERE id_customer_thread='.(int)$ct['id_customer_thread']);
|
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'customer_message WHERE id_customer_thread='.(int)$ct['id_customer_thread']);
|
||||||
}
|
}
|
||||||
|
|
||||||
Discount::deleteByIdCustomer((int)$this->id);
|
CartRule::deleteByIdCustomer((int)$this->id);
|
||||||
return parent::delete();
|
return parent::delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user