undo tabset changes for Contact Summary page
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 30 Nov 2015 06:11:33 +0000 (11:41 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 30 Nov 2015 06:11:33 +0000 (11:41 +0530)
CRM/Contact/Page/View/Summary.php

index 877a871a1a8840b50cb5b9b3687906a44df01fda..eac81adab983c35fca70e1ed3bf6b0d4a8f482a2 100644 (file)
@@ -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'));