From: jitendrapurohit Date: Mon, 30 Nov 2015 06:11:33 +0000 (+0530) Subject: undo tabset changes for Contact Summary page X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=23a75e37865fb3c968b75425893da9e9e1c98d21;p=civicrm-core.git undo tabset changes for Contact Summary page --- diff --git a/CRM/Contact/Page/View/Summary.php b/CRM/Contact/Page/View/Summary.php index 877a871a1a..eac81adab9 100644 --- a/CRM/Contact/Page/View/Summary.php +++ b/CRM/Contact/Page/View/Summary.php @@ -389,9 +389,8 @@ class CRM_Contact_Page_View_Summary extends CRM_Contact_Page_View { $weight += 10; } - $context = array('contact_id' => $this->_contactId); // see if any other modules want to add any tabs - CRM_Utils_Hook::tabset('civicrm/contact/view', $allTabs, $context); + CRM_Utils_Hook::tabs($allTabs, $this->_contactId); // now sort the tabs based on weight usort($allTabs, array('CRM_Utils_Sort', 'cmpFunc'));