From: monishdeb Date: Tue, 14 Oct 2014 11:54:15 +0000 (+0530) Subject: CRM-15430 indentation fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0872745354fed8c0d6876ece8778981aaebf753c;p=civicrm-core.git CRM-15430 indentation fixes ---------------------------------------- * CRM-15430: clarify code and functionality for hook_civicrm_dashboard_defaults https://issues.civicrm.org/jira/browse/CRM-15430 --- diff --git a/CRM/Core/BAO/Dashboard.php b/CRM/Core/BAO/Dashboard.php index 638c8848f4..fdf9df8365 100644 --- a/CRM/Core/BAO/Dashboard.php +++ b/CRM/Core/BAO/Dashboard.php @@ -90,15 +90,15 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { } /** - * Get the list of dashlets for the current user or the specified user. + * Get the list of dashlets for the current user or the specified user. * * Additionlly, initializes the dashboard with defaults if this is the * user's first visit to their dashboard. * - * @param boolean $flatFormat this is true if you want simple associated + * @param boolean $flatFormat this is true if you want simple associated * array of all the contact's dashlets whether or not they are enabled. * - * @param integer $contactID provide the dashlets for the contact id + * @param integer $contactID provide the dashlets for the contact id * passed rather than the current user. * * @return array $dashlets array of dashlets @@ -139,7 +139,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { } // If empty, then initialize contact dashboard for this user. - if(!$hasDashlets) { + if (!$hasDashlets) { return self::initializeDashlets(); } return $dashlets; @@ -183,7 +183,7 @@ class CRM_Core_BAO_Dashboard extends CRM_Core_DAO_Dashboard { } return $dashlets; } - + /** * Function to check dashlet permission for current user