version backend changes for 17

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2019-06-14 12:29:53 +02:00
parent 3543ad9192
commit fa87c7164d
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ Note: encrypting the contents of group folders is currently not supported.]]></d
<screenshot>https://raw.githubusercontent.com/nextcloud/groupfolders/master/screenshots/permissions.png</screenshot>
<dependencies>
<nextcloud min-version="16" max-version="16" />
<nextcloud min-version="17" max-version="17" />
</dependencies>
<background-jobs>

View file

@ -136,7 +136,7 @@ class VersionsBackend implements IVersionBackend {
}
}
public function getVersionFile(IUser $user, FileInfo $sourceFile, int $revision): File {
public function getVersionFile(IUser $user, FileInfo $sourceFile, $revision): File {
$mount = $sourceFile->getMountPoint();
if ($mount instanceof GroupMountPoint) {
try {