Skip to content

Commit

Permalink
Merge pull request #5814 from nextcloud/chore/remove-nc-25-conditional
Browse files Browse the repository at this point in the history
chore: remove obsolete server version check
  • Loading branch information
st3iny authored Feb 28, 2024
2 parents 6a81c16 + 5115deb commit abdace5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/AppNavigation/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit abdace5

Please sign in to comment.