[TASK] Remove backslash for UnexpectedValueException in mod.php 31/29731/3
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 29 Apr 2014 19:52:48 +0000 (21:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 3 May 2014 16:51:47 +0000 (18:51 +0200)
Resolves: #58344
Releases: 6.2
Change-Id: Ic2cbc0a9d8a27c67e145ea9fef55c60d13466c33
Reviewed-on: https://review.typo3.org/29731
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/mod.php

index e43aa85..ef58396 100644 (file)
@@ -36,7 +36,7 @@ $moduleName = (string)\TYPO3\CMS\Core\Utility\GeneralUtility::_GET('M');
 $isDispatched = FALSE;
 $formprotection = \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get();
 if (!$formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('moduleToken'), 'moduleCall', $moduleName)) {
-       throw new \UnexpectedValueException('Invalid form/module token detected. Access Denied!', 1392409507);
+       throw new UnexpectedValueException('Invalid form/module token detected. Access Denied!', 1392409507);
 }
 if ($temp_path = $TBE_MODULES['_PATHS'][$moduleName]) {
        $MCONF['_'] = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl($moduleName);