dd9ee10bc0
* Move Application to correct namespace and PSR-4 it * Move dav app to PSR-4
23 lines
341 B
PHP
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';
|
|
}
|
|
|
|
}
|