mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
return app, so it can be used in CalDAV to generate urn:uuid
This commit is contained in:
parent
512138ed56
commit
3d66a8d948
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user