| 1 |
<?php |
| 2 |
|
| 3 |
namespace AcyMailing\Controllers; |
| 4 |
|
| 5 |
use AcyMailing\Helpers\UpdatemeHelper; |
| 6 |
use AcyMailing\Core\AcymController; |
| 7 |
|
| 8 |
class DeactivateController extends AcymController |
| 9 |
{ |
| 10 |
public function saveFeedback() |
| 11 |
{ |
| 12 |
$data = [ |
| 13 |
'reason' => acym_getVar('string', 'reason', ''), |
| 14 |
'comment' => acym_getVar('string', 'otherReason', ''), |
| 15 |
'email' => acym_getVar('string', 'email', ''), |
| 16 |
]; |
| 17 |
|
| 18 |
UpdatemeHelper::call('public/feedback', 'POST', $data); |
| 19 |
exit; |
| 20 |
} |
| 21 |
} |
| 22 |
|