[TASK] Remove inexistent method parameter 68/49368/2
authorMichael Oehlhof <typo3@oehlhof.de>
Wed, 3 Aug 2016 20:59:11 +0000 (22:59 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 4 Aug 2016 06:44:27 +0000 (08:44 +0200)
Removed inexistent method parameter when calling
ExtendedTemplateService->ext_getAllTemplates() in
TypoScriptTemplateModuleController

Resolves: #77398
Releases: master
Change-Id: I1fa7a57d196cfa5e405f6f0b33625730a85d2c0b
Reviewed-on: https://review.typo3.org/49368
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php

index 2f09db3..cd4b6a9 100644 (file)
@@ -501,7 +501,7 @@ class TypoScriptTemplateModuleController extends BaseScriptClass
         $GLOBALS['tmpl'] = $tmpl;
         $tmpl->init();
 
-        $all = $tmpl->ext_getAllTemplates($this->id, $this->perms_clause);
+        $all = $tmpl->ext_getAllTemplates($this->id);
         if (count($all) > 1) {
             $this->MOD_MENU['templatesOnPage'] = array();
             foreach ($all as $d) {