CI: warning fix
authordeepak-srivastava <deepak.srivastava.0303@gmail.com>
Fri, 13 Mar 2015 23:04:57 +0000 (23:04 +0000)
committerdeepak-srivastava <deepak.srivastava.0303@gmail.com>
Fri, 13 Mar 2015 23:04:57 +0000 (23:04 +0000)
CRM/Core/Form/RecurringEntity.php

index 1a12dba4a492db35133e8c8a3ae354747e18be3e..3e15050a2811c2e1c95655624daf88e438e87947 100644 (file)
@@ -412,17 +412,9 @@ class CRM_Core_Form_RecurringEntity {
           if (CRM_Utils_Array::value('pre_delete_func', CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']]) &&
             CRM_Utils_Array::value('helper_class', CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']])
           ) {
-            $preDeleteResult = call_user_func_array(
-              CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']]['pre_delete_func'], 
-              array($params['entity_id'])
-            );
+            $preDeleteResult = call_user_func_array(CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']]['pre_delete_func'], array($params['entity_id']));
             if (!empty($preDeleteResult)) {
-              call_user_func(
-                array(
-                  CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']]['helper_class'],
-                  $preDeleteResult
-                )
-              );
+              call_user_func(array(CRM_Core_BAO_RecurringEntity::$_recurringEntityHelper[$params['entity_table']]['helper_class'], $preDeleteResult));
             }
           }
           //Ready to execute delete on entities if it has delete function set