Skip to content

Commit 961286d

Browse files
committed
no need for retrun
1 parent 9a0ffc6 commit 961286d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

controllers/front/FrontAjaxGdpr.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function display()
3636
if (Tools::getValue('action') !== 'AddLog') {
3737
$this->ajaxRender();
3838

39-
return false;
39+
return;
4040
}
4141

4242
$customerId = (int) Tools::getValue('id_customer');
@@ -63,7 +63,5 @@ public function display()
6363
}
6464

6565
$this->ajaxRender();
66-
67-
return true;
6866
}
6967
}

0 commit comments

Comments
 (0)