forked from extern/egroupware
hook allowing apps to add properties to *dav root
This commit is contained in:
parent
d799e91b24
commit
69bf6708a6
@ -372,6 +372,15 @@ class groupdav extends HTTP_WebDAV_Server
|
||||
// add root with current users apps
|
||||
$this->add_home($files, $path, $user, $options['depth']);
|
||||
|
||||
if ($path == '/')
|
||||
{
|
||||
$GLOBALS['egw']->hooks->process(array(
|
||||
'location' => 'groupdav_root_props',
|
||||
'props' => &$files['files'][0]['props'],
|
||||
'options' => $options,
|
||||
));
|
||||
}
|
||||
|
||||
// add principals and user-homes
|
||||
if ($path == '/' && $options['depth'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user