Commit 7668e37a authored by eileen's avatar eileen

As previously commented this array is never used.

I did a codebase grep on ->defaults & am pretty confident here....
parent c9f0d440
......@@ -87,7 +87,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
......
......@@ -87,7 +87,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
$this->loadFormValues();
......
......@@ -80,8 +80,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
// @todo - is this an error - $this->_defaults is used.
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
......
......@@ -88,7 +88,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
$this->loadFormValues();
......
......@@ -89,7 +89,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
$this->loadFormValues();
......
......@@ -82,8 +82,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
// get user submitted values
......
......@@ -71,7 +71,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
$this->_actionButtonName = $this->getButtonName('next', 'action');
$this->_done = FALSE;
$this->defaults = array();
$this->loadStandardSearchOptionsFromUrl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment