Fixed bug #11984: Remove reference operators for objects
authorXavier Perseguers <typo3@perseguers.ch>
Thu, 17 Sep 2009 23:20:43 +0000 (23:20 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Thu, 17 Sep 2009 23:20:43 +0000 (23:20 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@24610 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/ChangeLog
typo3/sysext/dbal/handlers/class.tx_dbal_handler_openoffice.php
typo3/sysext/dbal/handlers/class.tx_dbal_handler_rawmysql.php
typo3/sysext/dbal/handlers/class.tx_dbal_handler_xmldb.php

index 3682554..9a5e647 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-18  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Fixed bug #11984: Remove reference operators for objects
+
 2009-09-03  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #11436: Unknown tables break Install-Tool (Thanks to David Bruchmann)
index fbcfc42..962cfd6 100644 (file)
@@ -86,7 +86,7 @@ class tx_dbal_handler_openoffice extends t3lib_sqlengine {
         * @param       object          Parent object
         * @return      boolean         True on success.
         */
-       function init($config, &$pObj)  {
+       function init($config, $pObj) {
                $this->config = $config['config'];
 
                if (t3lib_extMgm::isLoaded('libunzipped'))      {
index 54f711a..72c30a5 100644 (file)
@@ -99,7 +99,7 @@ class tx_dbal_handler_rawmysql extends t3lib_sqlengine {
         */
        function init($config,&$pObj)   {
                $this->config = $config['config'];
-               $this->pObj = &$pObj;
+               $this->pObj = $pObj;
                $this->link = mysql_pconnect(
                                                        $this->config['host'],
                                                        $this->config['username'],
index c79ebe2..69d399e 100644 (file)
@@ -89,7 +89,7 @@ class tx_dbal_handler_xmldb extends t3lib_sqlengine {
         * @param       object          Parent object
         * @return      void
         */
-       function init($config, &$pObj)  {
+       function init($config, $pObj) {
                $this->config = $config['config'];
 
                $dbStorage = t3lib_div::getFileAbsFileName($this->config['DBstorageDir']);