1
0
Fork 0

give themes more control over events/birthdays and provide them as notifications

This commit is contained in:
friendica 2012-09-18 17:43:09 -07:00
commit 5cad3e114a
4 changed files with 76 additions and 3 deletions

View file

@ -304,7 +304,7 @@ function profile_content(&$a, $update = 0) {
$items = array();
}
if($is_owner && ! $update) {
if($is_owner && (! $update) && (! get_config('theme','hide_eventlist'))) {
$o .= get_birthdays();
$o .= get_events();
}