From: deepak-srivastava Date: Fri, 13 Mar 2015 23:04:57 +0000 (+0000) Subject: CI: warning fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=71670adcc36bdb7094e4cc903c08c80722bceb5e;p=civicrm-core.git CI: warning fix --- diff --git a/CRM/Core/Form/RecurringEntity.php b/CRM/Core/Form/RecurringEntity.php index 1a12dba4a4..3e15050a28 100644 --- a/CRM/Core/Form/RecurringEntity.php +++ b/CRM/Core/Form/RecurringEntity.php @@ -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