[TASK] Shorten two missed namespaces in ext:info_pagetsconfig 86/39286/3
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 5 May 2015 18:01:46 +0000 (20:01 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 5 May 2015 18:10:54 +0000 (20:10 +0200)
Shorten the namespace for GeneralUtility

Resolves: #66810
Releases: master
Change-Id: I592a866bad973b3b03439aaef7eddc47051fdd3d
Reviewed-on: http://review.typo3.org/39286
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php

index da0b3f0..2b42387 100644 (file)
@@ -114,7 +114,7 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
                                                        $editIcon = '<a href="#" onclick="' . htmlspecialchars($onclickUrl) . '" title="' . $this->getLanguageService()->getLL('editTSconfig', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-open') . '</a>';
                                                }
                                                $TScontent = nl2br(htmlspecialchars(trim($v) . LF));
-                                               $tsparser = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::class);
+                                               $tsparser = GeneralUtility::makeInstance(\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::class);
                                                $tsparser->lineNumberOffset = 0;
                                                $TScontent = $tsparser->doSyntaxHighlight(trim($v) . LF);
                                                $lines[] = '
@@ -137,7 +137,7 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
 
                        } else {
                                // Defined global here!
-                               $tmpl = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\TypoScript\ExtendedTemplateService::class);
+                               $tmpl = GeneralUtility::makeInstance(\TYPO3\CMS\Core\TypoScript\ExtendedTemplateService::class);
 
                                // Do not log time-performance information
                                $tmpl->tt_track = 0;