Skip to content

Commit

Permalink
Controller: Remove obsolete redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Timm Ortloff committed Feb 1, 2023
1 parent ba36072 commit e6c921a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions library/Reporting/Web/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit e6c921a

Please sign in to comment.