remove final references to old DAO/BAO
This commit is contained in:
parent
87888691dc
commit
ed86787d20
@ -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' => [
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user