@@ -162,6 +162,9 @@ discard block |
||
162 | 162 | return true; |
163 | 163 | } |
164 | 164 | |
165 | + /** |
|
166 | + * @param string $path |
|
167 | + */ |
|
165 | 168 | private function rmObjects($path) { |
166 | 169 | $children = $this->getCache()->getFolderContents($path); |
167 | 170 | foreach ($children as $child) { |
@@ -364,6 +367,9 @@ discard block |
||
364 | 367 | return true; |
365 | 368 | } |
366 | 369 | |
370 | + /** |
|
371 | + * @param string $path |
|
372 | + */ |
|
367 | 373 | public function writeBack($tmpFile, $path) { |
368 | 374 | $stat = $this->stat($path); |
369 | 375 | if (empty($stat)) { |
@@ -212,6 +212,7 @@ |
||
212 | 212 | |
213 | 213 | /** |
214 | 214 | * write back temporary files |
215 | + * @param string $path |
|
215 | 216 | */ |
216 | 217 | function writeBack($tmpFile, $path) { |
217 | 218 | $this->addFile($path, $tmpFile); |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use OC\AppFramework\Utility\TimeFactory; |
47 | 47 | use OC\Core\Middleware\TwoFactorMiddleware; |
48 | 48 | use OC\RichObjectStrings\Validator; |
49 | -use OC\Security\Bruteforce\Throttler; |
|
50 | 49 | use OCP\AppFramework\IApi; |
51 | 50 | use OCP\AppFramework\IAppContainer; |
52 | 51 | use OCP\Files\IAppData; |