[TASK] Remove usage of modTmpl->setForm from DatabaseIntegrityView 57/44457/2
authorJan Helke <typo3@helke.de>
Sat, 31 Oct 2015 18:39:01 +0000 (19:39 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Oct 2015 19:03:58 +0000 (20:03 +0100)
Resolves: #71217
Releases: master
Change-Id: Ic7948b9835be942473a5a5e9f6553df4a4874088
Reviewed-on: https://review.typo3.org/44457
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php

index 9bd1847..fc821d7 100644 (file)
@@ -88,7 +88,6 @@ class DatabaseIntegrityView extends BaseScriptClass
         $this->MCONF['name'] = $this->moduleName;
         $this->menuConfig();
         $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
-        $this->moduleTemplate->setForm('<form action="" method="post" name="' . $this->formName . '">');
         $this->moduleTemplate->addJavaScriptCode(
             'jumpToUrl',
             '
@@ -219,7 +218,9 @@ class DatabaseIntegrityView extends BaseScriptClass
                 $this->func_default();
         }
         $this->view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName($this->templatePath . $templateFilename));
-        $this->content = $this->view->render();
+        $this->content = '<form action="" method="post" id="DatabaseIntegrityView" name="' . $this->formName . '">';
+        $this->content .= $this->view->render();
+        $this->content .= '</form>';
 
         // Setting up the shortcut button for docheader
         $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();