[BUGFIX] Class fatals
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 26 Aug 2012 12:40:40 +0000 (14:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 26 Aug 2012 12:42:00 +0000 (14:42 +0200)
Change-Id: Ie260edf054d980ae4ee4513ab94f016bc29b0c60
Resolves: #40229
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14108
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/dbal/Classes/Database/DatabaseConntectionOverride.php
typo3/sysext/dbal/tests/sqlParserGeneralTest.php

index 73333bf..c4d00f1 100644 (file)
@@ -1334,7 +1334,7 @@ class DatabaseConntectionOverride extends \TYPO3\CMS\Core\Database\DatabaseConne
                        if ($this->queryCache) {
                                try {
                                        $this->queryCache->set($cacheKey, $precompiledParts);
-                               } catch (\TYPO3\CMS\Core\Cache\\Exception $e) {
+                               } catch (\TYPO3\CMS\Core\Cache\Exception $e) {
                                        if ($this->debug) {
                                                \TYPO3\CMS\Core\Utility\GeneralUtility::devLog($e->getMessage(), 'dbal', 1);
                                        }
index 30c9b03..abf1b40 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+namespace TYPO3\CMS\Dbal\Tests;
+
 /***************************************************************
  *  Copyright notice
  *
@@ -21,8 +23,8 @@
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
 require_once 'TYPO3\\CMS\\Dbal\\Tests\\BaseTestCase.php';
-namespace TYPO3\CMS\Dbal\Tests;
 
 /**
  * Testcase for class ux_t3lib_sqlparser