[BUGFIX] Make Typo3DbQueryParser a Singleton 43/28843/3
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Wed, 26 Mar 2014 14:53:35 +0000 (15:53 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 1 Apr 2014 19:24:03 +0000 (21:24 +0200)
Typo3DbQueryParser gets injected in Typo3DbBackend, thus
it has to be a Singleton.

Resolves: #57338
Releases: 6.2
Change-Id: I5b845ef280d23b6893d308bc9013ef965637a1ef
Reviewed-on: https://review.typo3.org/28843
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php

index 1470fc9..ac64515 100644 (file)
@@ -38,7 +38,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Qom;
 /**
  * QueryParser, converting the qom to string representation
  */
-class Typo3DbQueryParser {
+class Typo3DbQueryParser implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
         * The TYPO3 database object