[BUGFIX] Follow-up to Import SQL parser for Dbal-free parsing 82/43682/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 1 Oct 2015 02:49:20 +0000 (22:49 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 1 Oct 2015 02:50:50 +0000 (04:50 +0200)
Ensure this works also with TYPO3 CMS 6.2 and PHP 5.3

Resolves: #70224
Change-Id: I3daba68a3976094ed90b1384bb1705f95968c257
Reviewed-on: http://review.typo3.org/43682
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Classes/Utility/DatabaseUpdateUtility.php

index a03796e..576211e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
        * Update the manual
        * Resolves #70240: Follow-up to Remove class tx_staticinfotables_div
        * Resolves #66011: Fatal error when executing update script
+       * Resolves #70224: Follow-up tp Import SQL parser for Dbal-free parsing with TYPO3 CMS 7.5+
 
 2015-09-14  Stanislas Rolland  <typo3@sjbr.ca>
 
index a15f88e..3e0d8be 100644 (file)
@@ -64,7 +64,7 @@ class DatabaseUpdateUtility {
                if (is_object($GLOBALS['TYPO3_DB']->SQLparser)) {
                        $sqlParser = $GLOBALS['TYPO3_DB']->SQLparser;
                } else {
-                       $sqlParser = $this->objectManager->get(\SJBR\StaticInfoTables\Database\SqlParser::class);
+                       $sqlParser = $this->objectManager->get('SJBR\\StaticInfoTables\\Database\\SqlParser');
                }
                foreach ($fileContent as $line) {
                        $line = trim($line);