Skip to content
Snippets Groups Projects
Commit 77b68348 authored by eileen's avatar eileen
Browse files

Add deprecation warning.

On digging into this export function I cannot find any way to access these lines.

If no-one else can spot a way I propose adding a deprecation notice & later removing
parent 745a16ce
Branches
Tags
No related merge requests found
......@@ -308,6 +308,7 @@ class CRM_Core_Selector_Controller {
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment