| @@ -174,7 +174,7 @@ discard block | ||
| 174 | 174 | * @param string $path | 
| 175 | 175 | * @throws \OCP\Files\NotFoundException | 
| 176 | 176 | * @throws \OCP\Files\NotPermittedException | 
| 177 | - * @return string | |
| 177 | + * @return \OCP\Files\Node | |
| 178 | 178 | */ | 
| 179 | 179 |  	public function get($path) { | 
| 180 | 180 | $path = $this->normalizePath($path); | 
| @@ -371,6 +371,9 @@ discard block | ||
| 371 | 371 | |
| 372 | 372 | } | 
| 373 | 373 | |
| 374 | + /** | |
| 375 | + * @param string $fullPath | |
| 376 | + */ | |
| 374 | 377 |  	private function resolveVirtualNode($fullPath) { | 
| 375 | 378 |  		$pieces = explode('/', $fullPath); | 
| 376 | 379 |  		if ($pieces[1] !== 'meta') { | 
| @@ -24,12 +24,10 @@ | ||
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | use OC\Files\Meta\MetaVersionCollection; | 
| 27 | -use OCP\IMetaData; | |
| 28 | 27 | use Sabre\DAV\Exception\Forbidden; | 
| 29 | 28 | use Sabre\DAV\Exception\MethodNotAllowed; | 
| 30 | 29 | use Sabre\DAV\Exception\NotFound; | 
| 31 | 30 | use Sabre\DAV\ICollection; | 
| 32 | -use Sabre\HTTP\URLUtil; | |
| 33 | 31 | |
| 34 | 32 |  class MetaDataHome implements ICollection { | 
| 35 | 33 | |
| @@ -23,8 +23,6 @@ | ||
| 23 | 23 | |
| 24 | 24 | use OC\Files\Filesystem; | 
| 25 | 25 | use OC\Files\Storage\Local; | 
| 26 | -use OC\Files\View; | |
| 27 | -use OC\User\User; | |
| 28 | 26 | use OCP\Files\Folder; | 
| 29 | 27 | use OCP\IL10N; | 
| 30 | 28 | use OCP\ILogger; |