* @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class AdminAEUCController { public function __construct() { $this->bootstrap = true; $this->display = 'view'; $this->meta_title = $this->trans('Legal Compliance', array(), 'Modules.Legalcompliance.Admin'); parent::__construct(); if (!$this->module->active) Tools::redirectAdmin($this->context->link->getAdminLink('AdminHome')); } public function renderView() { return parent::renderView(); } }