From ddb911429a87a6a355fc42d02567a135e9f1b18d Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 2 Jun 2019 01:00:51 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - Information Controller/Views implementation --- .../admin/app/Controllers/InformationController.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/site/plugins/admin/app/Controllers/InformationController.php b/site/plugins/admin/app/Controllers/InformationController.php index cec30f0e..0ee1f38b 100644 --- a/site/plugins/admin/app/Controllers/InformationController.php +++ b/site/plugins/admin/app/Controllers/InformationController.php @@ -6,16 +6,7 @@ use function Flextype\Component\I18n\__; class InformationController extends Controller { - private $view; - private $router; - - public function __construct($container) - { - $this->view = $container->view; - $this->router = $container->router; - } - - public function index(/** @scrutinizer ignore-unused */ $request, $response, /** @scrutinizer ignore-unused */ $args) + public function index(/** @scrutinizer ignore-unused */ $request, $response) { if (function_exists('apache_get_modules')) { if (!in_array('mod_rewrite', apache_get_modules())) {