removed unwanted db call CRM-13078
authorCiviCRM <info@civicrm.org>
Tue, 23 Jul 2013 04:23:38 +0000 (09:53 +0530)
committerCiviCRM <info@civicrm.org>
Tue, 23 Jul 2013 04:23:38 +0000 (09:53 +0530)
----------------------------------------
* CRM-13078:
  http://issues.civicrm.org/jira/browse/CRM-13078

CRM/Batch/Form/Entry.php

index 2bdd049f2a8822e50fd8a72223833070c919916d..ecf467447f714f748439ee7b808f8804f9317dff 100644 (file)
@@ -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