return app, so it can be used in CalDAV to generate urn:uuid

This commit is contained in:
Ralf Becker 2011-10-17 15:44:26 +00:00
parent 512138ed56
commit 3d66a8d948

View File

@ -1051,6 +1051,7 @@ class calendar_bo
'name' => trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' . 'name' => trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' .
$GLOBALS['egw']->accounts->id2name($uid,'account_lastname')), $GLOBALS['egw']->accounts->id2name($uid,'account_lastname')),
'type' => $GLOBALS['egw']->accounts->get_type($uid), 'type' => $GLOBALS['egw']->accounts->get_type($uid),
'app' => 'accounts',
); );
} }
else else
@ -1063,6 +1064,7 @@ class calendar_bo
{ {
$info['email'] = $GLOBALS['egw']->accounts->id2name($info['responsible'],'account_email'); $info['email'] = $GLOBALS['egw']->accounts->id2name($info['responsible'],'account_email');
} }
$info['app'] = $this->resources[$uid[0]]['app'];
} }
} }
$res_info_cache[$uid] = $info; $res_info_cache[$uid] = $info;