# acymailing/10.0.1/back/Controllers/DeactivateController.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version 10.0.1. 22 lines.

- Page: https://pluginprobe.com/plugins/acymailing/10.0.1/code/back/Controllers/DeactivateController.php
- Raw: https://pluginprobe.com/plugins/acymailing/10.0.1/raw/back/Controllers/DeactivateController.php
- Modified: 2025-01-27T11:09:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/acymailing/10.0.1/code/back/Controllers/DeactivateController.php#L10-L20`.

```php
<?php

namespace AcyMailing\Controllers;

use AcyMailing\Helpers\UpdatemeHelper;
use AcyMailing\Core\AcymController;

class DeactivateController extends AcymController
{
    public function saveFeedback()
    {
        $data = [
            'reason' => acym_getVar('string', 'reason', ''),
            'comment' => acym_getVar('string', 'otherReason', ''),
            'email' => acym_getVar('string', 'email', ''),
        ];

        UpdatemeHelper::call('public/feedback', 'POST', $data);
        exit;
    }
}

```
