X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FUserDashboard.php;h=e3d164350f7f3d4296accc2acfc461c0109813b0;hb=d25dd0ee5e47188c3ea9ad2918f627cfac97ddbd;hp=730fb1024eb3d75571ee8028db51297970a0c6cf;hpb=4fd26f71c62960fbbb738a549bb595926f1eb70b;p=civicrm-core.git diff --git a/CRM/Event/Page/UserDashboard.php b/CRM/Event/Page/UserDashboard.php index 730fb1024e..e3d164350f 100644 --- a/CRM/Event/Page/UserDashboard.php +++ b/CRM/Event/Page/UserDashboard.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -41,10 +41,8 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { /** * List participations for the UF user * - * return null - * @access public */ - function listParticipations() { + public function listParticipations() { $controller = new CRM_Core_Controller_Simple( 'CRM_Event_Form_Search', ts('Events'), @@ -61,15 +59,13 @@ class CRM_Event_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoard { } /** - * 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() { + public function run() { parent::preProcess(); $this->listParticipations(); } -} +}