Skip to content

Commit 0a876e3

Browse files
authored
Merge pull request #39147 from nextcloud/backport/38794/stable27
[stable27] Enable version features again with S3 versioning
2 parents 7e9bd4f + f287866 commit 0a876e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/files_versions/lib/Capabilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ public function __construct(
4646
* @return array
4747
*/
4848
public function getCapabilities() {
49-
$groupFolderOrS3VersioningInstalled = $this->appManager->isInstalled('groupfolders') || $this->appManager->isInstalled('files_versions_s3');
49+
$groupFolderInstalled = $this->appManager->isInstalled('groupfolders');
5050

5151
return [
5252
'files' => [
5353
'versioning' => true,
54-
'version_labeling' => !$groupFolderOrS3VersioningInstalled && $this->config->getSystemValueBool('enable_version_labeling', true),
55-
'version_deletion' => !$groupFolderOrS3VersioningInstalled && $this->config->getSystemValueBool('enable_version_deletion', true),
54+
'version_labeling' => !$groupFolderInstalled && $this->config->getSystemValueBool('enable_version_labeling', true),
55+
'version_deletion' => !$groupFolderInstalled && $this->config->getSystemValueBool('enable_version_deletion', true),
5656
]
5757
];
5858
}

0 commit comments

Comments
 (0)