From e6c921aef82d0b270cc58031ed3b3b52e02ffdef Mon Sep 17 00:00:00 2001 From: Timm Ortloff Date: Wed, 1 Feb 2023 12:33:32 +0100 Subject: [PATCH] Controller: Remove obsolete redirect --- library/Reporting/Web/Controller.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/library/Reporting/Web/Controller.php b/library/Reporting/Web/Controller.php index 9cb0d734..1123332d 100644 --- a/library/Reporting/Web/Controller.php +++ b/library/Reporting/Web/Controller.php @@ -4,19 +4,8 @@ namespace Icinga\Module\Reporting\Web; -use ipl\Html\Form; use ipl\Web\Compat\CompatController; class Controller extends CompatController { - protected function redirectForm(Form $form, $url) - { - if ( - $form->hasBeenSubmitted() - && ((isset($form->valid) && $form->valid === true) - || $form->isValid()) - ) { - $this->redirectNow($url); - } - } }