diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index b3708f83e0..339f58b1c9 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -836,8 +836,7 @@ class calendar_boupdate extends calendar_bo { $preferences = new Api\Preferences($userid); $GLOBALS['egw_info']['user']['preferences'] = $part_prefs = $preferences->read_repository(); - $GLOBALS['egw']->accounts->get_account_name($userid,$lid,$tfn,$tln); - $fullname = Api\Accounts::format_username('',$tfn,$tln); + $fullname = Api\Accounts::username($userid); } else // external email address: use Api\Preferences of event-owner, plus some hardcoded settings (eg. ical notification) {