Skip to content

Commit

Permalink
Merge pull request #15951 from eileenmcnaughton/export_bom
Browse files Browse the repository at this point in the history
CSV Export: Add deprecation warning
  • Loading branch information
mlutfy authored Nov 27, 2019
2 parents 63865f0 + 77b6834 commit ea8f686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Core/Selector/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ public function run() {
CRM_Utils_Hook::searchColumns($contextName, $columnHeaders, $rows, $this);
if ($this->_output == self::EXPORT) {
// export the rows.
CRM_Core_Error::deprecatedFunctionWarning('This code is believed to be unreachable & to be later removed. Please log how you reached it in gitlab');
CRM_Core_Report_Excel::writeCSVFile($this->_object->getExportFileName(),
$columnHeaders,
$rows
Expand Down

0 comments on commit ea8f686

Please sign in to comment.