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