server/apps/dav/lib/Upload/RootCollection.php
Joas Schilling dd9ee10bc0 Move dav app to PSR-4 (#24527)
* Move Application to correct namespace and PSR-4 it

* Move dav app to PSR-4
2016-05-12 09:42:40 +02:00

23 lines
341 B
PHP

<?php
namespace OCA\DAV\Upload;
use Sabre\DAVACL\AbstractPrincipalCollection;
class RootCollection extends AbstractPrincipalCollection {
/**
* @inheritdoc
*/
function getChildForPrincipal(array $principalInfo) {
return new UploadHome($principalInfo);
}
/**
* @inheritdoc
*/
function getName() {
return 'uploads';
}
}