@@ -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 | |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | * 'p' folder contains the preview of files |
| 162 | 162 | * 'v' folder contains the version of files |
| 163 | 163 | * |
| 164 | - * @param $folderName |
|
| 164 | + * @param string $folderName |
|
| 165 | 165 | */ |
| 166 | 166 | public function newMetaSubFolders($folderName) { |
| 167 | 167 | if (($folderName === 'p') || ($folderName === 'v')) { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use OC\Files\Filesystem; |
| 25 | 25 | use OC\Files\Storage\Local; |
| 26 | 26 | use OC\Files\View; |
| 27 | -use OC\User\User; |
|
| 28 | 27 | use OCP\Files\Folder; |
| 29 | 28 | use OCP\IL10N; |
| 30 | 29 | use OCP\ILogger; |