Skip to content

Commit 4a35468

Browse files
nfebesusnux
authored andcommitted
chore: Add notes for noExpirationDate flag addition to share API
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
1 parent 4828f30 commit 4a35468

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ Changed APIs
210210
- ``OCP\IGroupManager::isAdmin()`` should be used instead of checking is current user is part of admin group manually.
211211
- ``IAttributes`` ``enabled`` key have bee renamed to ``value`` and supports more than boolean.
212212
- ``OCP\DB\Exception`` uses the reason code ``REASON_LOCK_WAIT_TIMEOUT`` now, instead of ``REASON_SERVER`` for a LockWaitTimeoutException.
213+
- ``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.
214+
- ``OCP\Share\IShare::getNoExpirationDate()`` retrieves the value of the ``noExpirationDate`` flag.
213215

214216
Deprecated APIs
215217
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)