CRM-12864
authoryashodha <yashodha.chaku@webaccess.co.in>
Mon, 24 Jun 2013 06:28:23 +0000 (11:58 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Mon, 24 Jun 2013 06:28:23 +0000 (11:58 +0530)
CRM/Event/Form/ManageEvent/TabHeader.php
CRM/Utils/Hook.php

index 95b2f2087a11b7ace75232029261bffb5ce3d697..8da4294f114e8e1b5494e7c27179a5d39d456bc7 100644 (file)
@@ -188,7 +188,8 @@ WHERE      e.id = %1
     }
 
     // see if any other modules want to add any tabs                                                                                                                                                    
-    CRM_Utils_Hook::eventTabs($tabs, $eventID);
+    CRM_Utils_Hook::tabset('civicrm/event/manage', $tabs, 
+      array('event_id' => $eventID));
 
     return $tabs;
   }
index d5c57c0d6c03336e64a26f261043161aad3d6c48..d7aaa183b14ac18c5e9379d642abe4916f52ad11 100644 (file)
@@ -485,9 +485,9 @@ abstract class CRM_Utils_Hook {
    * @return null 
    * @access public
    */
-  static function eventTabs(&$tabs, $eventID) {
-    return self::singleton()->invoke(2, $tabs, $eventID,
-      self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_eventTabs'
+  static function tabset($tabsetName, &$tabs, $context) {
+    return self::singleton()->invoke(3, $tabsetName, $tabs,
+      $context, self::$_nullObject, self::$_nullObject, 'civicrm_tabset'
     );
   }