Function is renamed

This commit is contained in:
Michael 2023-11-25 15:14:06 +00:00
parent 4d7c5f5672
commit 4a5014eab5
4 changed files with 4 additions and 4 deletions

View file

@ -231,7 +231,7 @@ class Network extends Timeline
} else {
$this->systemMessages->addNotice($this->l10n->t('Invalid contact.'));
}
} elseif (Profile::displayEventList($this->session->getLocalUserId(), $this->mode)) {
} elseif (Profile::shouldDisplayEventList($this->session->getLocalUserId(), $this->mode)) {
$o .= Profile::getBirthdays($this->session->getLocalUserId());
$o .= Profile::getEventsReminderHTML($this->session->getLocalUserId(), $this->session->getPublicContactId());
}