Issue 8542: User option to display the event list/birthday notification
This commit is contained in:
@@ -220,9 +220,9 @@ class Conversations extends BaseProfile
|
||||
$last_updated_array[$last_updated_key] = time();
|
||||
$this->session->set('last_updated', $last_updated_array);
|
||||
|
||||
if ($is_owner && !$this->config->get('theme', 'hide_eventlist')) {
|
||||
$o .= ProfileModel::getBirthdays();
|
||||
$o .= ProfileModel::getEventsReminderHTML();
|
||||
if ($is_owner && ProfileModel::displayEventList($this->session->getLocalUserId(), $this->mode)) {
|
||||
$o .= ProfileModel::getBirthdays($this->session->getLocalUserId());
|
||||
$o .= ProfileModel::getEventsReminderHTML($this->session->getLocalUserId(), $this->session->getPublicContactId());
|
||||
}
|
||||
|
||||
if ($is_owner) {
|
||||
|
||||
Reference in New Issue
Block a user