From 0872745354fed8c0d6876ece8778981aaebf753c Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 14 Oct 2014 17:24:15 +0530 Subject: [PATCH] CRM-15430 indentation fixes ---------------------------------------- * CRM-15430: clarify code and functionality for hook_civicrm_dashboard_defaults https://issues.civicrm.org/jira/browse/CRM-15430 --- CRM/Core/BAO/Dashboard.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.25.1