@@ -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; |