Merge pull request #5814 from nextcloud/chore/remove-nc-25-conditional

chore: remove obsolete server version check
This commit is contained in:
Richard Steinmetz 2024-02-28 17:01:30 +01:00 committed by GitHub
commit abdace5b25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -266,8 +266,7 @@ export default {
return this.defaultReminderOptions.find(o => o.value === this.defaultReminder)
},
availabilitySettingsUrl() {
// TODO: remove specific logic when NC 25 is not supported anymore
return this.nextcloudVersion >= 26 ? generateUrl('/settings/user/availability') : generateUrl('/settings/user/groupware')
return generateUrl('/settings/user/availability')
},
nextcloudVersion() {
return parseInt(OC.config.version.split('.')[0])