diff options
-rw-r--r-- | appinfo/info.xml | 2 | ||||
-rw-r--r-- | lib/Mount/GroupFolderStorage.php | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index 87f84206..1d29eb52 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -29,7 +29,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="13" max-version="16"/> + <nextcloud min-version="14" max-version="16"/> </dependencies> <commands> diff --git a/lib/Mount/GroupFolderStorage.php b/lib/Mount/GroupFolderStorage.php index ce278dde..87df39a5 100644 --- a/lib/Mount/GroupFolderStorage.php +++ b/lib/Mount/GroupFolderStorage.php @@ -36,4 +36,12 @@ class GroupFolderStorage extends Quota { public function getFolderId() { return $this->folderId; } + + public function instanceOfStorage($class) { + // "implement" the interface without adding a hard dependency on nc15 + if ($class === 'OCP\Files\Storage\IDisableEncryptionStorage') { + return true; + } + return parent::instanceOfStorage($class); + } } |