summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Capabilities.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/lib/Capabilities.php')
-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),
]
];
}