[FOLLOWUP] Move legacy "search" CType to compatibility6 39/36539/2
authorStephan Großberndt <stephan@grossberndt.de>
Sat, 31 Jan 2015 18:23:42 +0000 (19:23 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 31 Jan 2015 18:25:43 +0000 (19:25 +0100)
Fix use statement and call to log deprecation.

Releases: master
Resolves: #64696
Change-Id: I8c41afaced3dd650c31b2083451c0b395fae2bdc
Reviewed-on: http://review.typo3.org/36539
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/compatibility6/Classes/Hooks/TypoScriptFrontendController/ContentPostProcHook.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 621c45f..d730e5e 100644 (file)
@@ -14,8 +14,8 @@ namespace TYPO3\CMS\Compatibility6\Hooks\TypoScriptFrontendController;
  * The TYPO3 project - inspiring people to share!
  */
 
-use \TYPO3\CMS\Core\Utility\GeneralUtility;
-use \TYPO3\CMS\Core\Html\HtmlParser;
+use TYPO3\CMS\Core\Utility\GeneralUtility;
+use TYPO3\CMS\Core\Html\HtmlParser;
 
 /**
  * Class that hooks into TypoScriptFrontendController to do XHTML cleaning
index e29cd52..fe5aea8 100644 (file)
@@ -3465,7 +3465,7 @@ class TypoScriptFrontendController {
         * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8
         */
        public function doXHTML_cleaning() {
-               GeneralUtility::deprecationLog('The TypoScript option "config.xhtml_cleaning" has been deprecated with TYPO3 CMS 7 and will be removed with TYPO3 CMS 8.');
+               GeneralUtility::logDeprecatedFunction('The TypoScript option "config.xhtml_cleaning" has been deprecated with TYPO3 CMS 7 and will be removed with TYPO3 CMS 8.');
                return $this->config['config']['xhtml_cleaning'];
        }