diff --git a/modules/opencase_cases/opencase_cases.module b/modules/opencase_cases/opencase_cases.module index 99cf06d..5bf6ae8 100644 --- a/modules/opencase_cases/opencase_cases.module +++ b/modules/opencase_cases/opencase_cases.module @@ -68,20 +68,6 @@ function opencase_cases_theme() { ]; } -/** - * @return Drupal\opencase_cases\entity\OCCaseFee[] - */ -function opencase_cases_get_case_fees(Drupal\opencase_cases\entity\OCCase $case): array { - $query = \Drupal::entityQuery('oc_case_fee') - ->condition('oc_case.target_id', $case->id()); - $case_fee_ids = $query->execute(); - $case_fees = []; - foreach($case_fee_ids as $id) { - $case_fees[] = Drupal\opencase_cases\entity\OCCaseFee::load($id); - } - return $case_fees; -} - /** * @return Drupal\opencase_cases\entity\OCActivity[] */