[BUGFIX] Call-time pass-by-reference has been deprecated
authorPhilipp Gampe <dev@philippgampe.info>
Tue, 17 Apr 2012 17:23:07 +0000 (19:23 +0200)
committerTolleiv Nietsch <tolleiv.nietsch@typo3.org>
Thu, 3 May 2012 11:11:19 +0000 (13:11 +0200)
Change-Id: I51ad425c11613fb420cd1cdb2779ab8f3311ae16
Related: #35166
Fixes: #36241
Releases: 6.0
Reviewed-on: http://review.typo3.org/10595
Reviewed-by: Oliver Klee
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/workspaces/Classes/Service/GridData.php

index 713321a..def63cc 100644 (file)
@@ -196,7 +196,7 @@ class Tx_Workspaces_Service_GridData {
                                // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, array $versions)
                        $this->emitSignal(
                                self::SIGNAL_GenerateDataArray_BeforeCaching,
-                               &$this->dataArray, $versions
+                               $this->dataArray, $versions
                        );
 
                        $this->setDataArrayIntoCache($versions, $filterTxt);
@@ -206,7 +206,7 @@ class Tx_Workspaces_Service_GridData {
                        // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, array $versions)
                $this->emitSignal(
                        self::SIGNAL_GenerateDataArray_PostProcesss,
-                       &$this->dataArray, $versions
+                       $this->dataArray, $versions
                );
 
                $this->sortDataArray();
@@ -231,7 +231,7 @@ class Tx_Workspaces_Service_GridData {
                        // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, $start, $limit)
                $this->emitSignal(
                        self::SIGNAL_GetDataArray_PostProcesss,
-                       &$this->dataArray, $start, $limit
+                       $this->dataArray, $start, $limit
                );
 
                return $dataArrayPart;
@@ -334,7 +334,7 @@ class Tx_Workspaces_Service_GridData {
                        // methodName(Tx_Workspaces_Service_GridData $gridData, array &$dataArray, $sortColumn, $sortDirection)
                $this->emitSignal(
                        self::SIGNAL_SortDataArray_PostProcesss,
-                       &$this->dataArray, $this->sort, $this->sortDir
+                       $this->dataArray, $this->sort, $this->sortDir
                );
        }
 
@@ -448,7 +448,7 @@ class Tx_Workspaces_Service_GridData {
                        // methodName(Tx_Workspaces_Service_GridData $gridData, &$changePercentage, array $firstRecord, array $secondRecord, &$processed)
                $this->emitSignal(
                        self::SIGNAL_CalcChangePercentage_PreProcess,
-                       &$changePercentage, $diffRecordOne, $diffRecordTwo, &$processed
+                       $changePercentage, $diffRecordOne, $diffRecordTwo, $processed
                );
 
                        // Check that records are arrays:
@@ -511,7 +511,7 @@ class Tx_Workspaces_Service_GridData {
                                // methodName(Tx_Workspaces_Service_GridData $gridData, &$changePercentage, array $firstRecord, array $secondRecord, array $changePercentageArray)
                        $this->emitSignal(
                                self::SIGNAL_CalcChangePercentage_PostProcess,
-                               &$changePercentage, $diffRecordOne, $diffRecordTwo, $changePercentageArray
+                               $changePercentage, $diffRecordOne, $diffRecordTwo, $changePercentageArray
                        );
                }
 
@@ -591,4 +591,4 @@ if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLA
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Service/GridData.php']);
 }
 
-?>
\ No newline at end of file
+?>