* Delete method.

This commit is contained in:
=
2022-05-06 10:52:54 +08:00
parent 678effdb62
commit 23c0bc9140
+4 -4
View File
@@ -69,14 +69,14 @@ class feedbackEntry extends Entry
/**
* DELETE method.
*
* @param int $productID
* @param int $feedbackID
* @access public
* @return void
*/
public function delete($productID)
public function delete($feedbackID)
{
$control = $this->loadController('product', 'delete');
$control->delete($productID, 'yes');
$control = $this->loadController('feedback', 'delete');
$control->delete($feedbackID, 'yes');
$this->getData();
$this->sendSuccess(200, 'success');