From 620c386ac382d551950196c95d025d7317be2add Mon Sep 17 00:00:00 2001 From: CiviCRM Date: Tue, 23 Jul 2013 09:53:38 +0530 Subject: [PATCH] removed unwanted db call CRM-13078 ---------------------------------------- * CRM-13078: http://issues.civicrm.org/jira/browse/CRM-13078 --- CRM/Batch/Form/Entry.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 2bdd049f2a..ecf467447f 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -366,8 +366,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { $this->_priceSet = current(CRM_Price_BAO_Set::getSetDetail($priceSetId)); $fieldID = key($this->_priceSet['fields']); - $assetRelation = key(CRM_CORE_PseudoConstant::accountOptionValues('account_relationship', NULL, " AND v.name LIKE 'Asset Account is' ")); - if (isset($params['field'])) { foreach ($params['field'] as $key => $value) { // if contact is not selected we should skip the row -- 2.25.1