<?php

namespace Easymailing\App\Controller\Admin;



class SynchronizationConfigurationSettingsController extends SettingsController
{

    public function configurationAction(): void
    {
        $this->indexAction();
    }


	protected function renderView($treatmentPurposes, $booleanListFields)
	{
		$data = (count($treatmentPurposes) > 0) ? $treatmentPurposes : $booleanListFields;
		$this->render('Admin/Synchronization/Config/settings.php', [
			'current_page' => 2,
			'treatmentPurposes' => $data,
		]);
	}

	protected function redirectAfterSavedData()
	{
		$this->redirectToMenuPage('easymailing_synchronization');
	}

}
