mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Issue 8542: User option to display the event list/birthday notification
This commit is contained in:
parent
5c3227ac4c
commit
b3d7dfb9a5
8 changed files with 181 additions and 168 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue