aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-04-17 11:16:20 +0200
committerLouis Chemineau <louis@chmn.me>2023-04-17 11:16:20 +0200
commitcca46f18eb8ac710c5535f818ea26756b1b92812 (patch)
tree8d93b4bd8810c87b70ab02afcee76cd0b58e8867 /apps/files_versions
parentb21c5c86e5908274e67fc31178e0dff24eed1136 (diff)
downloadnextcloud-server-cca46f18eb8ac710c5535f818ea26756b1b92812.tar.gz
nextcloud-server-cca46f18eb8ac710c5535f818ea26756b1b92812.zip
Really disable versions features when S3 versioning is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/Capabilities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Capabilities.php b/apps/files_versions/lib/Capabilities.php
index 6524943690a..e97a5c4aaa4 100644
--- a/apps/files_versions/lib/Capabilities.php
+++ b/apps/files_versions/lib/Capabilities.php
@@ -46,7 +46,7 @@ class Capabilities implements ICapability {
* @return array
*/
public function getCapabilities() {
- $groupFolderOrS3VersioningInstalled = $this->appManager->isInstalled('groupfolders') || $this->appManager->isInstalled('groupfolders');
+ $groupFolderOrS3VersioningInstalled = $this->appManager->isInstalled('groupfolders') || $this->appManager->isInstalled('files_versions_s3');
return [
'files' => [