From: CiviCRM Date: Tue, 23 Jul 2013 04:23:38 +0000 (+0530) Subject: removed unwanted db call CRM-13078 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=620c386ac382d551950196c95d025d7317be2add;p=civicrm-core.git removed unwanted db call CRM-13078 ---------------------------------------- * CRM-13078: http://issues.civicrm.org/jira/browse/CRM-13078 --- 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