Skip to content

Commit

Permalink
Merge pull request #12051 from nextcloud/share-api-change
Browse files Browse the repository at this point in the history
chore: Add notes for `noExpirationDate` flag addition to share API
  • Loading branch information
nfebe authored Sep 19, 2024
2 parents 3f0eb6c + 4a35468 commit ef34fff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ Changed APIs
- ``OCP\IGroupManager::isAdmin()`` should be used instead of checking is current user is part of admin group manually.
- ``IAttributes`` ``enabled`` key have bee renamed to ``value`` and supports more than boolean.
- ``OCP\DB\Exception`` uses the reason code ``REASON_LOCK_WAIT_TIMEOUT`` now, instead of ``REASON_SERVER`` for a LockWaitTimeoutException.
- ``OCP\Share\IShare::setNoExpirationDate()`` now sets an overwrite flag for falsy expiry date values, this flag is used to determine whether the system should overwrite falsy expiry date values before creating a share.
- ``OCP\Share\IShare::getNoExpirationDate()`` retrieves the value of the ``noExpirationDate`` flag.

Deprecated APIs
^^^^^^^^^^^^^^^
Expand Down

0 comments on commit ef34fff

Please sign in to comment.