remove final references to old DAO/BAO

This commit is contained in:
Jon Goldberg 2019-08-20 13:52:02 -04:00
parent 87888691dc
commit ed86787d20
No known key found for this signature in database
GPG Key ID: C2D2247364F9DB13
3 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ class CRM_AnnualGrantBudgets_DAO_GrantBudget extends CRM_Core_DAO {
'type' => 'Select', 'type' => 'Select',
], ],
'pseudoconstant' => [ 'pseudoconstant' => [
'callback' => 'CRM_Grant_BAO_GrantBudget::getFiscalyear', 'callback' => 'CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear',
], ],
], ],
'budget' => [ 'budget' => [

View File

@ -229,7 +229,7 @@ function annualgrantbudgets_civicrm_validateForm($formName, &$fields, &$files, &
if ($paidStatusID != $fields['status_id']) { if ($paidStatusID != $fields['status_id']) {
return; return;
} }
$budgetErrors = CRM_Grant_BAO_GrantBudget::checkBudget($fields, $form->getVar('_id')); $budgetErrors = CRM_AnnualGrantBudgets_BAO_GrantBudget::checkBudget($fields, $form->getVar('_id'));
$errors = array_merge($errors, $budgetErrors); $errors = array_merge($errors, $budgetErrors);
} }
} }

View File

@ -53,7 +53,7 @@
<export>false</export> <export>false</export>
<localizable>false</localizable> <localizable>false</localizable>
<pseudoconstant> <pseudoconstant>
<callback>CRM_Grant_BAO_GrantBudget::getFiscalyear</callback> <callback>CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear</callback>
</pseudoconstant> </pseudoconstant>
<html> <html>
<type>Select</type> <type>Select</type>