X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FPage%2FUserDashboard.php;h=608f2cbff13fd8c1702bd3a11d903ebce1fc9eb0;hb=3cb25298dcfaebdf396395e2180747c5c4d71cf9;hp=67ffb893f3fcdc026a3600278677f7aabeb46850;hpb=d316b1e117e7f8215acc07b9d39e18f7aba1bf8c;p=civicrm-core.git diff --git a/CRM/Contribute/Page/UserDashboard.php b/CRM/Contribute/Page/UserDashboard.php index 67ffb893f3..608f2cbff1 100644 --- a/CRM/Contribute/Page/UserDashboard.php +++ b/CRM/Contribute/Page/UserDashboard.php @@ -1,7 +1,7 @@ assign('honor', TRUE); } - - $recur = new CRM_Contribute_DAO_ContributionRecur(); + $recur = new CRM_Contribute_DAO_ContributionRecur(); $recur->contact_id = $this->_contactId; - $recur->is_test = 0; + $recur->is_test = 0; $recur->find(); $config = CRM_Core_Config::singleton(); @@ -145,18 +141,14 @@ class CRM_Contribute_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBo } /** - * This function is the main function that is called when the page + * the main function that is called when the page * loads, it decides the which action has to be taken for the page. - * - * return null - * @access public */ - function run() { - $invoiceSettings = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::CONTRIBUTE_PREFERENCES_NAME,'contribution_invoice_settings'); + public function run() { + $invoiceSettings = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::CONTRIBUTE_PREFERENCES_NAME, 'contribution_invoice_settings'); $invoicing = CRM_Utils_Array::value('invoicing', $invoiceSettings); $this->assign('invoicing', $invoicing); parent::preProcess(); $this->listContribution(); } } -