<?php

namespace Backend\Modules\Analytics\Actions;

use Backend\Core\Engine\Base\ActionDelete;
use Backend\Core\Engine\Model;

/**
 * This is the reset-action. It will remove your coupling with analytics
 *
 * @author Wouter Sioen <wouter@sumocoders.be>
 */
final class Reset extends ActionDelete
{
    /**
     * The form instance
     *
     * @var Form
     */
    private $form;

    public function execute()
    {
        $this->get('fork.settings')->delete($this->getModule(), 'certificate');
        $this->get('fork.settings')->delete($this->getModule(), 'email');
        $this->get('fork.settings')->delete($this->getModule(), 'account');
        $this->get('fork.settings')->delete($this->getModule(), 'web_property_id');
        $this->get('fork.settings')->delete($this->getModule(), 'profile');

        return $this->redirect(Model::createURLForAction('Settings'));
    }
}

<?php

namespace Backend\Modules\Analytics\Actions;

use Backend\Core\Engine\Base\ActionDelete;
use Backend\Core\Engine\Model;

/**
 * This is the reset-action. It will remove your coupling with analytics
 *
 * @author Wouter Sioen <wouter@sumocoders.be>
 */
final class Reset extends ActionDelete
{
    public function execute()
    {
        $this->get('fork.settings')->delete($this->getModule(), 'certificate');
        $this->get('fork.settings')->delete($this->getModule(), 'email');
        $this->get('fork.settings')->delete($this->getModule(), 'account');
        $this->get('fork.settings')->delete($this->getModule(), 'web_property_id');
        $this->get('fork.settings')->delete($this->getModule(), 'profile');

        return $this->redirect(Model::createURLForAction('Settings'));
    }
}

Remove unused form class variable.
Remove unused form class variable.
