File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66namespace Icinga \Module \Pdfexport \Controllers ;
77
88use Icinga \Application \Config ;
9- use Icinga \Application \Logger ;
109use Icinga \Module \Pdfexport \Forms \BackendConfigForm ;
11- use Icinga \Web \Form \ConfigForm ;
10+ use Icinga \Web \Form \ConfigSectionForm ;
1211use Icinga \Web \Notification ;
1312use ipl \Html \Attributes ;
1413use ipl \Html \Form ;
@@ -91,7 +90,7 @@ public function backendAction(): void
9190 $ this ->redirectNow ('__CLOSE__ ' );
9291 });
9392
94- $ form ->on (ConfigForm ::ON_DELETE , function () use ($ form ) {
93+ $ form ->on (ConfigSectionForm ::ON_DELETE , function () use ($ form ) {
9594 Notification::success ($ this ->translate ('Print backend deleted ' ));
9695 $ this ->redirectNow ('__CLOSE__ ' );
9796 });
Original file line number Diff line number Diff line change 99use Icinga \Module \Pdfexport \Backend \Chromedriver ;
1010use Icinga \Module \Pdfexport \Backend \Geckodriver ;
1111use Icinga \Module \Pdfexport \Backend \HeadlessChromeBackend ;
12- use Icinga \Web \Form \ConfigForm ;
12+ use Icinga \Web \Form \ConfigSectionForm ;
1313use ipl \Validator \CallbackValidator ;
1414
15- class BackendConfigForm extends ConfigForm
15+ class BackendConfigForm extends ConfigSectionForm
1616{
1717 public function assemble (): void
1818 {
You can’t perform that action at this time.
0 commit comments