From 23a75e37865fb3c968b75425893da9e9e1c98d21 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 30 Nov 2015 11:41:33 +0530 Subject: [PATCH] undo tabset changes for Contact Summary page --- CRM/Contact/Page/View/Summary.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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')); -- 2.25.1