Skip to content

Commit bca0436

Browse files
author
Timm Ortloff
committed
Controller: Remove obsolete redirect
1 parent 31176dc commit bca0436

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

library/Reporting/Web/Controller.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,8 @@
44

55
namespace Icinga\Module\Reporting\Web;
66

7-
use ipl\Html\Form;
87
use ipl\Web\Compat\CompatController;
98

109
class Controller extends CompatController
1110
{
12-
protected function redirectForm(Form $form, $url)
13-
{
14-
if (
15-
$form->hasBeenSubmitted()
16-
&& ((isset($form->valid) && $form->valid === true)
17-
|| $form->isValid())
18-
) {
19-
$this->redirectNow($url);
20-
}
21-
}
2211
}

0 commit comments

Comments
 (0)