From 3b6d61f2ee4b5d66c791afa46ef168e445d5d1a0 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 22 Jun 2016 20:18:06 +1200 Subject: [PATCH] CRM-17154 remove code no longer used --- CRM/Report/Form.php | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index bfe7f20700..fc5552cae0 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -4573,7 +4573,6 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a * is that we might print a bar chart as a pdf. */ protected function setOutputMode() { - $buttonName = $this->controller->getButtonName(); $this->_outputMode = str_replace('report_instance.', '' , CRM_Utils_Request::retrieve( 'output', 'String', @@ -4584,31 +4583,11 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a if (isset($this->_params['task'])) { unset($this->_params['task']); } - - if ($buttonName) { - if ($buttonName == $this->_instanceButtonName) { - $this->_outputMode = 'save'; - } - if ($buttonName == $this->_printButtonName) { - $this->_outputMode = 'print'; - } - if ($buttonName == $this->_pdfButtonName) { - $this->_outputMode = 'pdf'; - } - if ($this->_csvButtonName == $buttonName) { - $this->_outputMode = 'csv'; - } - if ($this->_groupButtonName == $buttonName) { - $this->_outputMode = 'group'; - } - if ($buttonName == $this->_createNewButtonName) { - $this->_outputMode = 'copy'; - } - } } /** * CRM-17793 - Alter DateTime section header to group by date from the datetime field. + * * @param $tempTable * @param $columnName */ -- 2.25.1