From ed86787d201345930986ae0182d43e8fdb89b225 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Tue, 20 Aug 2019 13:52:02 -0400 Subject: [PATCH] remove final references to old DAO/BAO --- CRM/AnnualGrantBudgets/DAO/GrantBudget.php | 2 +- annualgrantbudgets.php | 2 +- xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/AnnualGrantBudgets/DAO/GrantBudget.php b/CRM/AnnualGrantBudgets/DAO/GrantBudget.php index 5a050f9..dba68bb 100644 --- a/CRM/AnnualGrantBudgets/DAO/GrantBudget.php +++ b/CRM/AnnualGrantBudgets/DAO/GrantBudget.php @@ -151,7 +151,7 @@ class CRM_AnnualGrantBudgets_DAO_GrantBudget extends CRM_Core_DAO { 'type' => 'Select', ], 'pseudoconstant' => [ - 'callback' => 'CRM_Grant_BAO_GrantBudget::getFiscalyear', + 'callback' => 'CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear', ], ], 'budget' => [ diff --git a/annualgrantbudgets.php b/annualgrantbudgets.php index 61a7dc1..4bd34f7 100644 --- a/annualgrantbudgets.php +++ b/annualgrantbudgets.php @@ -229,7 +229,7 @@ function annualgrantbudgets_civicrm_validateForm($formName, &$fields, &$files, & if ($paidStatusID != $fields['status_id']) { 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); } } diff --git a/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml b/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml index 81da33a..534105b 100644 --- a/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml +++ b/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml @@ -53,7 +53,7 @@ false false - CRM_Grant_BAO_GrantBudget::getFiscalyear + CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear Select