hook allowing apps to add properties to *dav root

This commit is contained in:
Ralf Becker 2014-11-17 12:36:53 +00:00
parent d799e91b24
commit 69bf6708a6

View File

@ -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'])
{