From 4a35468b8b0aa0b75c2512c2362bc328d0d25a07 Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Sun, 21 Jul 2024 12:29:09 +0100 Subject: [PATCH] chore: Add notes for `noExpirationDate` flag addition to share API Signed-off-by: fenn-cs --- .../app_upgrade_guide/upgrade_to_30.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst index 7d58068a1ef..1ccf78eb618 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_30.rst @@ -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 ^^^^^^^^^^^^^^^