[FOLLOWUP][TASK] Shorten namespaces in ContentObjects 10/37810/2
authorFrank Nägler <typo3@naegler.net>
Fri, 13 Mar 2015 09:28:40 +0000 (10:28 +0100)
committerNicole Cordes <typo3@cordes.co>
Fri, 13 Mar 2015 09:38:22 +0000 (10:38 +0100)
follow up to fix broken unit tests.

Resolves: #65677
Releases: master
Change-Id: I3ccf2e3fd63a47bcad20d61a0634eb3a0c22d48c
Reviewed-on: http://review.typo3.org/37810
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index 6e3ef12..1279d86 100644 (file)
@@ -36,6 +36,7 @@ use TYPO3\CMS\Core\Utility\MathUtility;
 use TYPO3\CMS\Core\Utility\StringUtility;
 use TYPO3\CMS\Core\Versioning\VersionState;
 use TYPO3\CMS\Frontend\ContentObject\Exception\ContentRenderingException;
+use TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler;
 use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 use TYPO3\CMS\Frontend\Imaging\GifBuilder;
 use TYPO3\CMS\Frontend\ContentObject\Exception\ExceptionHandlerInterface;
@@ -957,7 +958,7 @@ class ContentObjectRenderer {
                }
 
                if ($exceptionHandlerClassName === '1') {
-                       $exceptionHandlerClassName = Exception\ProductionExceptionHandler::class;
+                       $exceptionHandlerClassName = ProductionExceptionHandler::class;
                }
 
                return $exceptionHandlerClassName;