@@ -315,6 +315,9 @@ |
||
315 | 315 | } |
316 | 316 | } |
317 | 317 | |
318 | + /** |
|
319 | + * @param string $revision |
|
320 | + */ |
|
318 | 321 | public static function restoreVersion($uid, $filename, $fileToRestore, $revision) { |
319 | 322 | if (\OC::$server->getConfig()->getSystemValue('files_versions', Storage::DEFAULTENABLED) !== true) { |
320 | 323 | return false; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OC\Files\Storage; |
25 | 25 | |
26 | 26 | use OC\Files\Cache\FailedCache; |
27 | -use OCP\Files\Storage\IStorage; |
|
28 | 27 | use \OCP\Lock\ILockingProvider; |
29 | 28 | use \OCP\Files\StorageNotAvailableException; |
30 | 29 |
@@ -37,7 +37,6 @@ |
||
37 | 37 | namespace OC\Files\Storage; |
38 | 38 | |
39 | 39 | use OCP\Files\ForbiddenException; |
40 | -use OCP\Files\Storage\IStorage; |
|
41 | 40 | |
42 | 41 | /** |
43 | 42 | * for local filestore, we only have to map the paths |