the comments are the wrong way around. this is not about if notes should
be displayed, but if they should be hidden.
related to https://lab.civicrm.org/dev/core/-/issues/4329
}
/**
- * Given a note id, decide if the note should be displayed based on privacy setting
+ * Given a note id, decide if the note should be hidden based on privacy setting
*
* @param object $note
* Either the id of the note to retrieve, or the CRM_Core_DAO_Note object itself.
*
* @return bool
- * TRUE if the note should be displayed, otherwise FALSE
+ * TRUE if the note should be hidden, otherwise FALSE
*
*/
public static function getNotePrivacyHidden($note) {