"return only the self URL for propfind on app folder with depth 0"

This commit is contained in:
Ralf Becker 2008-05-10 20:32:03 +00:00
parent 0afb2d0324
commit f0f056420f

View File

@ -198,6 +198,10 @@ class groupdav extends HTTP_WebDAV_Server
)),
);
}
if (!$options['depth'] && !$id)
{
return true; // depth 0 --> show only the self url
}
return $handler->propfind($options['path'],$options,$files,$user,$id);
}
return '501 Not Implemented';