[TASK] Remove usage of modTmpl->setForm from ConfigurationView 56/44456/2
authorJan Helke <typo3@helke.de>
Sat, 31 Oct 2015 18:34:18 +0000 (19:34 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 31 Oct 2015 18:38:48 +0000 (19:38 +0100)
Resolves: #71216
Releases: master
Change-Id: I718248317dad59a883637939ad9124885a079b14
Reviewed-on: https://review.typo3.org/44456
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>
typo3/sysext/lowlevel/Classes/View/ConfigurationView.php

index d9563f7..fd5a86b 100644 (file)
@@ -68,7 +68,6 @@ class ConfigurationView extends BaseScriptClass
     {
         $this->menuConfig();
         $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
-        $this->moduleTemplate->setForm('<form action="" method="post">');
     }
 
     /**
@@ -213,7 +212,9 @@ class ConfigurationView extends BaseScriptClass
 
         $this->getModuleMenu();
 
-        $this->content = $this->view->render();
+        $this->content = '<form action="" id="ConfigurationView" method="post">';
+        $this->content .= $this->view->render();
+        $this->content .= '</form>';
     }