summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorBenjamin Somers <benjamin.somers@imt-atlantique.fr>2023-06-13 15:06:36 +0200
committerBenjamin Somers <benjamin.somers@imt-atlantique.fr>2023-06-13 15:06:36 +0200
commit75e04614c18bff84faa5eee890e9b0b8402375c7 (patch)
tree68490a7f91e6816e5c24eb4428fbf6d6efb3b28d /apps/files_versions
parentaedb4bef1e6b012637d822ed25948d1a8b3ded4d (diff)
downloadnextcloud-server-75e04614c18bff84faa5eee890e9b0b8402375c7.tar.gz
nextcloud-server-75e04614c18bff84faa5eee890e9b0b8402375c7.zip
Enable version features again with S3 versioning
Signed-off-by: Benjamin Somers <bsomers@resel.fr>
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/Capabilities.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_versions/lib/Capabilities.php b/apps/files_versions/lib/Capabilities.php
index e97a5c4aaa4..afc6fa39da7 100644
--- a/apps/files_versions/lib/Capabilities.php
+++ b/apps/files_versions/lib/Capabilities.php
@@ -46,13 +46,13 @@ class Capabilities implements ICapability {
* @return array
*/
public function getCapabilities() {
- $groupFolderOrS3VersioningInstalled = $this->appManager->isInstalled('groupfolders') || $this->appManager->isInstalled('files_versions_s3');
+ $groupFolderInstalled = $this->appManager->isInstalled('groupfolders');
return [
'files' => [
'versioning' => true,
- 'version_labeling' => !$groupFolderOrS3VersioningInstalled && $this->config->getSystemValueBool('enable_version_labeling', true),
- 'version_deletion' => !$groupFolderOrS3VersioningInstalled && $this->config->getSystemValueBool('enable_version_deletion', true),
+ 'version_labeling' => !$groupFolderInstalled && $this->config->getSystemValueBool('enable_version_labeling', true),
+ 'version_deletion' => !$groupFolderInstalled && $this->config->getSystemValueBool('enable_version_deletion', true),
]
];
}