diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2023-09-28 12:40:18 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-10-02 11:29:04 +0000 |
commit | 0537bbd331cda5ad7b477c398e652b4c11c4834d (patch) | |
tree | 1f88116401d2f35f04e4aad704ea58fe462010d6 /apps/comments | |
parent | a092bae72008ac0fa6297013ae4ba86a1827fc93 (diff) | |
download | nextcloud-server-0537bbd331cda5ad7b477c398e652b4c11c4834d.tar.gz nextcloud-server-0537bbd331cda5ad7b477c398e652b4c11c4834d.zip |
Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.
For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.
Resolves : https://github.com/nextcloud/server/issues/40612
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/comments')
0 files changed, 0 insertions, 0 deletions