From 1fcb1bce9010ed69e033ce0f6164bdcc0f69433d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 27 Sep 2022 10:25:00 +1300 Subject: [PATCH] Remove long-deprecated function --- CRM/Core/BAO/Note.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/CRM/Core/BAO/Note.php b/CRM/Core/BAO/Note.php index 1bd336410a..b8abef965f 100644 --- a/CRM/Core/BAO/Note.php +++ b/CRM/Core/BAO/Note.php @@ -27,24 +27,6 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note implements \Civi\Core\HookInte */ const MAX_NOTES = 3; - /** - * Given a note id, retrieve the note text. - * - * @param int $id - * Id of the note to retrieve. - * - * @return string - * the note text or NULL if note not found - * - * @throws \CRM_Core_Exception - * - * @deprecated - */ - public static function getNoteText($id) { - CRM_Core_Error::deprecatedFunctionWarning('unused function'); - return CRM_Core_DAO::getFieldValue('CRM_Core_DAO_Note', $id, 'note'); - } - /** * Given a note id, retrieve the note subject * -- 2.25.1