[TASK] Various cleanups regarding comments and API calls 19/56919/3
authorBenni Mack <benni@typo3.org>
Fri, 11 May 2018 05:33:11 +0000 (07:33 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 11 May 2018 08:08:31 +0000 (10:08 +0200)
commitbb4206603a427e37dc581e0f863f2aa4ca86c2c0
tree6aafaaefe9e2512fd5e8b1f65f70fc093f270b55
parent545c3c9b5814cd6178f2ab6763fdc30f81e5a12c
[TASK] Various cleanups regarding comments and API calls

This patch is a small summary of clean ups in various
places of TYPO3 Core.

- EditDocumentController can be simplified to retrieve the closeUrl()
- Comment adaptions in GeneralUtility
- Comment adaptions and code simplification in ContentObjectRenderer
- HMENU debug option can be fetched from TSFE TypoScript directly
- TypoLinkBuilder can use "TSFE->initTemplate()" directly
  to instantiate the TemplateService, and should hand over
  proper values in the constructor.

Resolves: #84966
Releases: master
Change-Id: I145b99842eea2a2386742b1525b33a49022c9339
Reviewed-on: https://review.typo3.org/56919
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Typolink/AbstractTypolinkBuilder.php