From 6144fdd82b3f05ee948eeb0f0c65a37616b2a77d Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Tue, 28 Dec 2021 11:54:20 +0000 Subject: [PATCH] Remove unused method getGrantStatusOptGroup --- CRM/Grant/BAO/Grant.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/CRM/Grant/BAO/Grant.php b/CRM/Grant/BAO/Grant.php index c2e4dad3c0..aca48e7714 100644 --- a/CRM/Grant/BAO/Grant.php +++ b/CRM/Grant/BAO/Grant.php @@ -59,30 +59,6 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { return $summary; } - /** - * Get events Summary. - * - * - * @return array - * Array of event summary values - * - * @throws CRM_Core_Exception - */ - public static function getGrantStatusOptGroup() { - - $params = []; - $params['name'] = CRM_Grant_BAO_Grant::$statusGroupName; - - $defaults = []; - - $og = CRM_Core_BAO_OptionGroup::retrieve($params, $defaults); - if (!$og) { - throw new CRM_Core_Exception('No option group for grant statuses - database discrepancy! Make sure you loaded civicrm_data.mysql'); - } - - return $og; - } - /** * Fetch object based on array of properties. * -- 2.25.1