From 04e902163a71d714bdc9feeeb55c846a0e544e5c Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 20 Jul 2019 12:45:18 +1200 Subject: [PATCH] Remove now redundant param --- CRM/Export/BAO/Export.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 87aba60b69..d8c1ea0f54 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -217,7 +217,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c // In order to be able to write a unit test against this function we need to suppress // the csv writing. In future hopefully the csv writing & the main processing will be in separate functions. if (empty($exportParams['suppress_csv_for_testing'])) { - self::writeCSVFromTable($headerRows, $sqlColumns, $processor); + self::writeCSVFromTable($headerRows, $processor); } else { // return tableName sqlColumns headerRows in test context @@ -375,10 +375,9 @@ VALUES $sqlValueString /** * @param $headerRows - * @param $sqlColumns * @param \CRM_Export_BAO_ExportProcessor $processor */ - public static function writeCSVFromTable($headerRows, $sqlColumns, $processor) { + public static function writeCSVFromTable($headerRows, $processor) { $exportTempTable = $processor->getTemporaryTable(); $writeHeader = TRUE; $offset = 0; -- 2.25.1