diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-05-13 15:39:12 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-05-17 11:53:33 +0300 |
commit | b7d69f0db6db0ae15513cf73281d5fa8dceaf062 (patch) | |
tree | 68435cb39c3e05e0e0579d839c02ebdad71128ae /src/gui/sharedialog.cpp | |
parent | 9751b49032e6e049cea8875c172947ed44531ab0 (diff) |
Remove version checks for < 10.0
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r-- | src/gui/sharedialog.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 106432676..5ba8101e8 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -190,12 +190,7 @@ void ShareDialog::showSharingUi() return; } - // We only do user/group sharing from 8.2.0 - bool userGroupSharing = - theme->userGroupSharing() - && _accountState->account()->serverVersionInt() >= Account::makeServerVersion(8, 2, 0); - - if (userGroupSharing) { + if (theme->userGroupSharing()) { _userGroupWidget = new ShareUserGroupWidget(_accountState->account(), _sharePath, _localPath, _maxSharingPermissions, _privateLinkUrl, this); _ui->shareWidgets->addTab(_userGroupWidget, tr("Users and Groups")); _userGroupWidget->getShares(); |